public static void Main()
Console.WriteLine("Hi! I'll tell you the total");
for (int i = 1; i <= 10; i++)
Console.WriteLine("Please write the first number");
total += int.Parse(Console.ReadLine());
Console.WriteLine("Please write the last number");
total += int.Parse(Console.ReadLine());
Console.WriteLine("Please write the next number");
total += int.Parse(Console.ReadLine());
Console.WriteLine("The total is: "+ total);