Codigo De Sofware Para Calcular Las Notas De Un Colegio
copie y pegue el codigo( incluyendo las rayas, estas son para separar los datos), ojala les sirve de algo.
int prom_alum, prom_grupos, nota, tg = 1, tn = 0, tm=0, n,g, m, top_no;
int acum_nota = 0, prom_nota, acum_notas = 0, acum_no_alum = 0, acum_no_grup = 0, prom_total, acum_total=0,mayor=0,menor=50;
string nom_ma, nomgru, nombre, nombre_mejor = "no hay",nom_peor="no hay";
Console.WriteLine(" PROGRAMA PARA CALCULAR NOTAS DE UN COLEGIO");
Console.WriteLine("____________________________________________________________
__________________");Console.WriteLine (" INSTRUCIONES DE USO DEL PROGRAMA: ");
Console.WriteLine(" * Donde te Pidan Datos Numericos, Ingresa los Numeros, (no palabras)");
Console.WriteLine(" * Despues de IngresarCualquier Dato para Poder Continuar, Oprima la Enter ");
Console.WriteLine("____________________________________________________________
__________________");
Console.WriteLine(" *INGRESE ELNUMERO DE GRUPOS A LOS QUE DESEA REALIZAR EL PROCESO: ");
g = int.Parse (Console.ReadLine ());
Console.WriteLine("______________________________________________________________________________");
while (tg < g +1)
{
Console.WriteLine("*INGRESE NOMBRE DEL GRUPO " + tg +":");
nomgru = Console.ReadLine();
Console.WriteLine("______________________________________________________________________________");
Console.WriteLine(" *INGRESE EL NUMERO DE ALUMNOS DE : " + nomgru +".");
n= int.Parse (Console.ReadLine ());Console.WriteLine("____________________________________________________________
__________________");
tn = 0;
Console.WriteLine(" *INGRESE EL NUMERO DE MATERIAS A SACAR PROMEDIO EN EL GRADO "+nomgru +":");
m = int.Parse(Console.ReadLine());...
Regístrate para leer el documento completo.