-
-
Save parzibyte/b12f48b7422551330b78af416f1d8cac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Algoritmo sin_titulo | |
aprobados <- 0 | |
reprobados <- 0 | |
mayor_nota <- 0 | |
suma_notas <- 0 | |
aprobatoria <- 70 | |
Para i<-1 Hasta 10 Hacer | |
Escribir "Ingrese la nota del alumno #", i,": "; | |
Leer nota; | |
Si nota >= aprobatoria Entonces | |
aprobados = aprobados + 1; | |
SiNo | |
reprobados = reprobados + 1; | |
FinSi | |
suma_notas = suma_notas + nota; | |
Si nota >= mayor_nota Entonces | |
mayor_nota <- nota; | |
FinSi | |
FinPara; | |
Escribir "Estudiantes aprobados: ", aprobados; | |
Escribir "Estudiantes reprobados: ", reprobados; | |
Escribir "Nota mayor: ", mayor_nota; | |
Escribir "Promedio: ", suma_notas / 10; | |
FinAlgoritmo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment