public static void Main()
string[] name = new string[8];
for (int i = 0; i < mark.Length; i++)
average = average + mark[i];
Console.WriteLine("The average is {0}", average);
for (int i = 0; i < mark.Length; i++)
Console.WriteLine("{0} scored {1} marks, which is above average", name[i], mark[i]);
Console.WriteLine("{0} scored {1} marks, which is equal to the average", name[i], mark[i]);
Console.WriteLine("{0} scored {1} marks, which is below average", name[i], mark[i]);
Console.WriteLine("{0} students had marks ABOVE the average mark", above);
Console.WriteLine("{0} students had marks EQUAL TO the average mark", equal);
Console.WriteLine("{0} students had marks BELOW the average mark", below);