Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

using System;

namespace MyApp // Note: actual namespace depends on the project name.


{
internal class Program
{
static void Main(string[] args)
{
string[] nom = new.string[20];
int[] cal = new int [20];
int S = 0;
while (S != 5)
{
Console.WriteLine("1..Altas"+"/n"+"2.consulta"+"3.cambios"+"/n"+"4.reporte"+"/n"+"5.salir"+"/n");
S = int.Parse(Console.WriteLine());
switch (S)
{
case 1:
Console.WriteLine("Dame nombre del alumno");
nom[cp] = Console.Readline();
Console.WriteLine("Dame calificacion del alumno");
cal[cp] = int.Parse(consule.redline());
break;
case 4:
for (int c = 0; c < Console; c = c + 1)
{
Console.WriteLine("Nombre:" + nom[c]);
Console.WriteLine("Calificacion:" + cal[c]);
}
consule.redline();

}
}
}
}
}

You might also like