public static void Main()
Console.WriteLine("Cuantas notas necesita?");
int cantidadnotas = Convert.ToInt32(Console.ReadLine());
for (i=1; i <=cantidadnotas; i++)
Console.WriteLine("Ingrese la nota numero " + i);
int nota = Convert.ToInt32(Console.ReadLine());
totalnota = totalnota + nota;
promnota = totalnota / cantidadnotas;
Console.WriteLine("El estudiante esta repobado");
Console.WriteLine("El estudiante esta aprobado");