Created
May 1, 2024 06:16
-
-
Save duranangie/241848e7994101dad6b10a02a939c0a1 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 fibonacci | |
Definir num1,num2,n Como Entero | |
num1=0 | |
num2=1 | |
n=20 | |
Mientras n>1 Hacer | |
fb=num1+num2 | |
num1=num2 | |
num2=fb | |
Escribir fb | |
n=n-1 | |
Fin Mientras | |
FinAlgoritmo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment