Función de recsive Fibonacci Kotlin
fun fibonacci(n: Int): Int =
if (n<=2){
1
}else{
fibonacci(n-1)+ fibonacci(n-2)
}
Sergio Hurtado
fun fibonacci(n: Int): Int =
if (n<=2){
1
}else{
fibonacci(n-1)+ fibonacci(n-2)
}