ANALISIS MIENTRAS
ASIGNACION ;
NT←0
SALIDA: 'Ingrese el número de estudiantes'
LECTURA: Est
SALIDA: 'Ingrese la cantidad de notas'
LECTURA: notas
ASIGNACION i←0
j←0
PROGRESO: i>=Est
i>=Est
SALIDA: 'Digite la nota ', j,' del estudiante ' ,i
LECTURA: Nt1
ASIGNACION NT←NT+Nt1
j←j+1
SALIDA;''El promedio del estudiante ' ,i, ' es ' , NT/Notas'
ASIGNACION NT←0
i←i+1
j←1
FIN
ASIGNACION ;
NT←0
SALIDA: 'Ingrese el número de estudiantes'
LECTURA: Est
SALIDA: 'Ingrese la cantidad de notas'
LECTURA: notas
ASIGNACION i←0
j←0
PROGRESO: i>=Est
i>=Est
SALIDA: 'Digite la nota ', j,' del estudiante ' ,i
LECTURA: Nt1
ASIGNACION NT←NT+Nt1
j←j+1
SALIDA;''El promedio del estudiante ' ,i, ' es ' , NT/Notas'
ASIGNACION NT←0
i←i+1
j←1
FIN
ANALISIS PARA:
ASIGNACION:NT←0
SALIDA:'INGRESE EL NUMERO DE ESTUDIANTES'
LECTURA: EST
SALIDA:'ingrese la cantidad de notas'
LECTURA: notas:
PROCESO:
PARA I ← 1.EST.1
J← 1.NOT.1
SALIDA: 'digite la nota', j, 'del estudiante', i
LECTURA: nt1
ASIGNACION: nt ← nt+nt1
ASIGNACION:NT←0
SALIDA:'INGRESE EL NUMERO DE ESTUDIANTES'
LECTURA: EST
SALIDA:'ingrese la cantidad de notas'
LECTURA: notas:
PROCESO:
PARA I ← 1.EST.1
J← 1.NOT.1
SALIDA: 'digite la nota', j, 'del estudiante', i
LECTURA: nt1
ASIGNACION: nt ← nt+nt1
salida: 'El promedio del estudiante ' ,i, ' es ' , NT/Notas'
ASIGNACION: NT←0
ASIGNACION: NT←0
FIN


No hay comentarios:
Publicar un comentario