Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Estructura Repetitiva
1. UNIVERSIDAD "FERMÍN TORO"
SISTEMA INTERACTIVOS DE EDUCACIÓN A DISTANCIA. (SAIA)
CABUDARE.
UNIDAD II
Estructuras Repetitivas
APELLIDO Y NOMBRE: DAIVER VILLALOBOS
SECCIÓN: SAIA A 2019/02
N° DE LA ACTIVIDAD: UNIDAD II
FECHA: 12 AGOSTO 2019
PROFESOR: ESTEBAN TORREALBA
2. 1. DISEÑE UN ALGORITMO QUE RECIBA COMO ENTRADA “N” ALUMNOS CON SU
RESPECTIVA NOTA FINAL EN UNA ASIGNATURA Y QUE CALCULE E IMPRIMA
• CANTIDAD DE ALUMNOS APROBADOS
• CANTIDAD DE ALUMNOS REPROBADOS
• PROMEDIO DE NOTAS DE LA ASIGNATURA
• PROMEDIO DE NOTAS DE APROBADOS Y REPROBADOS
• CUAL FUE LA NOTA MAYOR Y LA NOTA MENOR ENTRE LOS “N” ESTUDIANTES.
INICIO
ALGORITMO Notas finales
VARIABLES:
Prom_Tot, Prom_Ap, Prom_R, Nota_Final, Not_Ap, Not_R= Real
Num_Al, cont_Ap, cont_R, cont_Al= Entero
Constante: A = 10
Inicializacion cont_Ap: 0 cont_R: 0; Prom_Tot: 0; Prom_Ap: 0; Prom_R: 0;
Nota_Final: 0; Not_Ap: 0; Not_R: 0; Num_Al: 1; cont_Al: Entero
INICIO
Escribir “Introduzca número de alumnos que cursa la materia”
Leer “Num_Al”
Haga mientras cont_Al >= Num_Al
Escribir “Introduzca nota final del alumno”
Leer “Nota_Final”
INICIO
Not_R = Not_R + Nota_Final
Cont_Al = Con_Al + 1
FIN HAGA MIENTRAS
Prom_Ap = (Not_Ap / cont_Ap)
Prom_R = (Not_R / cont_R)
Prom_Tot = (Prom_Ap + Prom_R) / 2
Imprimir (“Cantidad de alumnos aprobados: ”, cont_Ap);
Imprimir (“Promedio de notas de alumnos aprobados: ”, Prom_Ap);
Imprimir (“Cantidad de alumnos reprobados: ”, cont_R);
Imprimir (“Promedio de notas de alumnos reprobados: ”, Prom_R);
Imprimir (“Promedio de notas de alumnos: ”, Prom_Tot);
FIN DEL ALGORITMO Notas finales