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();
}
}