Created
January 22, 2018 21:07
-
-
Save hasantezcan/ad4f9cafee6dacfa863b4319536654d0 to your computer and use it in GitHub Desktop.
Hasan TEZCAN "Fibonaccinin 100. iterasyonunu" sorusunun cevabı
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fibonaci dizisinin ilk 100 elemani... | |
#include<stdio.h> | |
main(){ | |
int F[99]; | |
F[0]=1; | |
F[1]=1; | |
for(int i=0; i<100; i++){ | |
F[i+2]=F[i+1]+F[i]; | |
} | |
for(int i=0; i<100; i++){ | |
printf("\n%d",F[i]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment