public static void Main()
{string[] names = {"Albert", "Bert", "Al", "Allie"};
int[, ] grades = {{1, 80, 90, 100, 80}, {2, 70, 65, 90, 100}, {3, 50, 49, 80, 62}, {4,49, 50, 63, 99}};
for (int i = 0; i < grades.GetLength(0); i++)
for (int j = 1; j < grades.GetLength(1); j++)
sum = sum + grades[i, j];
int avg = sum / (grades.GetLength(1) - 1);
Console.WriteLine(names[i] +" has an average of " + avg);
Console.WriteLine("They failed for the quarter.");
int[, ] arr = new int[4, 5];
for (int i = 0; i < arr.GetLength(0); i++)
for (int j = 0; j < arr.GetLength(1); j++)
for (int i = 0; i < arr.GetLength(0); i++)
for (int j = 0; j < arr.GetLength(1); j++)
Console.Write(arr[i, j] + " ");