Created
July 24, 2026 17:26
-
-
Save Kiuren/bfeb0b52bd3d922f4cdff0a5801c0e10 to your computer and use it in GitHub Desktop.
Creado con PseInt Web
This file contains hidden or 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 ejercicio1 | |
| Definir n, i, resultado Como Entero | |
| Escribir "Ingrese un número entero: " | |
| Leer n | |
| resultado = 1 | |
| i = 1 | |
| Mientras i <= n Hacer | |
| resultado = resultado * i | |
| i = i + 1 | |
| FinMientras | |
| Escribir "El factorial de ", n, " es: ", resultado | |
| FinAlgoritmo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment