12 lines
169 B
C
12 lines
169 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int fibonacci(int nbMax, int resultat){
|
|
if (result){
|
|
return resultat
|
|
}
|
|
else{
|
|
resultat+=fibonacci(nbMax-1, );
|
|
}
|
|
}
|