public static void Main()
Console.WriteLine("Please enter the number of values to be entered: ");
int count = int.Parse(Console.ReadLine());
for (int i = 0; i < count; i++)
total += int.Parse(Console.ReadLine());
Console.WriteLine("The total is:" + total);