Created
July 10, 2020 23:22
-
-
Save Aaron-CR/969638e05ba1aa056416606a9a653408 to your computer and use it in GitHub Desktop.
Ejemplo utilizado en el vídeo de recursividad
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
| SubAlgoritmo CuentaRegresiva ( numero ) | |
| Escribir numero | |
| Si ( numero > 0 ) | |
| CuentaRegresiva( numero - 1 ) | |
| FinSi | |
| FinSubAlgoritmo | |
| Algoritmo Recursividad | |
| Definir numero Como Entero | |
| Escribir "Ingrese un número para la cuenta regresiva" | |
| Leer numero | |
| CuentaRegresiva( numero ) | |
| FinAlgoritmo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment