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