You are on page 1of 1

using System;

class program
{
static void Main(string[] args)
{
string[] alumnos;
double[,] notas;

int numAlumnos = 6;
int i = 0;
string alumno;
alumnos = new string[6];
Console.WriteLine("ingrese nombre de etudiante ");
alumno = Console.ReadLine();
for (i = 0; i < numAlumnos; i++)
{
Console.WriteLine("\nAlumno #" + (i + 1));
Console.Write("Nota: ");
alumnos[i] = Console.ReadLine();
}
Console.WriteLine("nombre del alumno: " + alumno) ;
for (i = 0; i < numAlumnos; i++)
{
Console.WriteLine( "{0}", alumnos[i]);
}
}
}

You might also like