BUT2/DEV/DEV1.1_suite/TP_Recursivité/#Q1_Fibonacci.c#~

11 lines
168 B
Plaintext
Raw Normal View History

2023-10-23 13:23:36 +02:00
#include <stdio.h>
#include <stdlib.h>
int fibonacci(int nbMax, int resultat){
if (result){
return resultat
}
else{
resultat+=fibonacci(nbMax-1, );
}
}