#include <stdio.h>
#define N 20
int fibonuch(int a,int b){
return a+b;
}
int main(){
int f[N];
f[0]=0;
f[1]=1;
for(int i=2;i<N;){
f[i]=f[i-1]+f[i-2];
i++;
printf("f_{%d}/f_{%d}=%f\n",i-1,i-2,(double)f[i-1]/f[i-2]);
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: