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

What is xpath, What is XPath? XPath stands for XML Path. It is a langua...

What is XPath? XPath stands for XML Path. It is a language used to access dissimilar parts of an XML document, such as elements and attributes.

Need hrlp to update current website backend asp.net, Update current website...

Update current website backend (asp.NET) and build Rest API to expose data I will shortly shape an HTML5 cross-platform mobile app. I at present have a website with a backend th

What is managed code and managed data, What is managed code and managed dat...

What is managed code and managed data? Managed code is code that is written to target the services of the Common Language Runtime. In order to target these services, the code m

Can we post view state in another application?, You can post back to any of...

You can post back to any of the page and pages in other application, too. But if you are posting pages to other application, the PreviousPage property will return null. This is an

Why do we use the xmlhttprequest object in ajax, Why do we use the XMLHttpR...

Why do we use the XMLHttpRequest object in AJAX? The XMLHttpRequest object is used by JavaScript to transfer XML and other text data among client and server. The XMLHttpRequest

Asp .net mvc tutor, ASP .NET MVC Tutor Project Description: Work with...

ASP .NET MVC Tutor Project Description: Work with me and assist with troubleshooting lessons, describe in easy to understand terms how to accomplish certain tasks, provide co

Flight scheduling web development, Project Description: I require a flig...

Project Description: I require a flight scheduling website, including billing and basic aircraft management; this will be used by a local piloting school There is no requirin

What is difference between namespace and assembly, What is Difference betwe...

What is Difference between NameSpace and Assembly? Following are the differences among namespace and assembly: Assembly is physical grouping of logical units, Namespace, log

Project baselines, What is a project baselines? The Project base line d...

What is a project baselines? The Project base line defines a logical closure of any deliverable or cycle. For example you have done the requirement phase with sign off from the

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