Skip to content

Instantly share code, notes, and snippets.

@hasantezcan
Created January 22, 2018 21:07
Show Gist options
  • Save hasantezcan/ad4f9cafee6dacfa863b4319536654d0 to your computer and use it in GitHub Desktop.
Save hasantezcan/ad4f9cafee6dacfa863b4319536654d0 to your computer and use it in GitHub Desktop.
Hasan TEZCAN "Fibonaccinin 100. iterasyonunu" sorusunun cevabı
// 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