public static void Main()
int[, ] marks = new int[2, 10];
int total = 0, total_two = 0;
for (int i = 0; i < 2; i++)
for (int j = 0; j < 2; j++)
Console.WriteLine("enter in a mark: ");
marks[i, j] = int.Parse(Console.ReadLine());
total_class1 = total_class1 + marks[i, j];
total_class2 = total_class1 + marks[i, j];
total_two = total_class2/10;
Console.WriteLine("class average for 1: " + total );
Console.WriteLine("class average for 2: " + total_two );