public static void Main()
decimal n1,n2,n3,total=0,avg=0;
Console.WriteLine("----Let's get the average----");
Console.WriteLine("Enter the first number :");
n1=Convert.ToDecimal(Console.ReadLine());
Console.WriteLine("Enter the second number :");
n2=Convert.ToDecimal(Console.ReadLine());
Console.WriteLine("Enter the third number :");
n3=Convert.ToDecimal(Console.ReadLine());
Console.WriteLine("Total="+total);
Console.WriteLine("Average="+avg);