public static void Main()
int[,] mat = new int[rows, cols];
for(int i = 0; i < rows; i++)
for(int j = 0; j < cols; j++)
for(int i = 0; i < rows; i++)
for(int j = 0; j < cols; j++)
Console.WriteLine("enter num of stud");
students = int.Parse(Console.ReadLine());
int[] grades = new int[students];
for(int i = 0; i < students; i++)
Console.WriteLine("enter the grade");
grades[i] = int.Parse(Console.ReadLine());
for(int i = 0; i < students; i++)
Console.WriteLine("avg: " + avg);
Console.WriteLine("students in: " + count);