public static void Main()
int[] golfScores = new int[18];
for (int i = 0; i < 18; i++)
Console.WriteLine("Enter the score: ");
golfScores[i] = int.Parse(Console.ReadLine());
if (golfScores[i] > high)
total = total + golfScores[i];
Console.WriteLine("The total of scores is: " + total);
Console.WriteLine("The high score was: " + high);
Console.WriteLine("The lowest score was: " + low);