c-repl/example/fibonacci_rec.c
2024-01-12 13:37:52 +01:00

9 lines
128 B
C

int fibo(int n) {
if (n <= 1) {
return n;
} else {
return fibo(n - 1) + fibo(n - 2);
}
}
fibo(15);;