-
-
Save parzibyte/0f447924af0f11ba1ea1fc1fe2f42a38 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
public static void main(String[] args) { | |
// ¿Qué número va en la posición 20? | |
fibonacci(20); | |
// También recursivo | |
long elQueVaEnLa20 = fibonacciRecursivo(20); | |
System.out.println("El que va en la posición 20 es " + elQueVaEnLa20); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment