public static void Main()
Console.Write("Enter the amount of students: ");
int alumnos = int.Parse(Console.ReadLine());
string [] nombres = new string [alumnos];
double [] notas = new double [alumnos];
for (int i = 0; i < alumnos ; i++)
Console.Write("Enter the name of the student: ");
nombres[i] = Console.ReadLine();
Console.Write("Enter the grade :");
notas[i] = double.Parse(Console.ReadLine());
if (notas[i] > notaMasAlta)
Console.Write("The average grade is {0}" , notaTotal/alumnos);
Console.Write("The highest grade is {0}" , notaMasAlta);