Compute average of 3 numbers - c# program, DOT NET Programming

Assignment Help:

Compute Average of 3 numbers - C# Program

I didn't know the exact code for computing average of integer number. Can anybody suggest me the correct way for find out the average?


Related Discussions:- Compute average of 3 numbers - c# program

Looking for web designer, Looking for web designer Project Description: ...

Looking for web designer Project Description: I am seeking website designer with developing skills of Html, .Net and also supports in all browsers. Please ping your previous

Mention different types of data providers available in .net, Mention differ...

Mention different types of data providers available in .NET Framework. .NET Framework Data Provider for SQL Server - Give access to Microsoft SQL Server 7.0 or later version. I

Professional telerik winform, Professional TELERIK Bind MS ACCESS Req...

Professional TELERIK Bind MS ACCESS Required: 1. Including custom fields to the Schedule. 2. Schedule Calendar Sync with Outlook 3. Selecting display in Schedule res

Describe the rules creating a well-formed xml document, Describe the rules ...

Describe the rules and regulations that must be followed whereas creating a well-formed XML document. The following are the rules and regulations that are essential to follow w

Define inheritance, Can you define what inheritance is and an example of wh...

Can you define what inheritance is and an example of when you might use it? The process of deriving a new class from an existing class is known as Inheritance. The old class is

How do we connect to sql server ?, How do we connect to SQL SERVER, which n...

How do we connect to SQL SERVER, which namespace do we use ? The code is shown below, after that i will  give the explanation for it. For this sample we will also require a SQL

Difference between delegate and events, What is the difference between dele...

What is the difference between delegate and events? Actually events use delegates in the bottom. But they also add an extra layer on the delegates, hence forming the publisher

Load multiple tables in a data set, How can we load multiple tables in a Da...

How can we load multiple tables in a DataSet ? objCommand.CommandText = "Table1" objDataAdapter.Fill(objDataSet, "Table1") objCommand.CommandText = "Table2"

Program of nested loop - c# program, Program of Nested Loop - C# Program ...

Program of Nested Loop - C# Program I am a learner of C# language and i am struggling with the Loops in c#. Can you have any code examples for this.

Stephen

2/11/2013 6:48:26 AM

Some new learner of C# faces this type of problem. Don''t worry use this code once.

Program - Compute average of 3 numbers

using System;  

class average

{

  public static void Main()

 {

   float a = 25;

   float b = 75;

   float c = 100;

   float avg = (a+b+c)/3;

  Console.WriteLine("The average of 25, 75 & 100 = " + avg);

  Console.ReadLine();

 }

}

2/11/2013 6:50:40 AM

The above code help me really. you select the right way for the above problem. Thank you so much.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd