Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
150109_RecursividadFibonacci
//Title of this code //gcc 4.8.2 #include <stdio.h> long fibonacci(long i); int main(void) { long i = 40; printf("El fibonacci de %ld es %ld\n\n\n", i, fibonacci(i)); return 0; } long fibonacci(long i) { if(i <= 2) return 1; return fibonacci(i - 1) + fibonacci(i - 2); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
C_141127_MatricesSUMA
hello
Revprint
Text to ASCII (top)
B_141202_CONTADORPALABRAS
WAP in C to convert decimal to binary
menu1.c
Project 4 v.3
A_141205_Palindromo
4qwrfdsfsaf
Please log in to post a comment.