#include <stdio.h>
int main() {
int n,f,s,t,i;
printf("\n Enter how many no u wanna to take in Fibbonici series:");
scanf("%d",&n);
f=-1;
s=1;
for(i=1;i<=n;i++)
{
t=f+s;
printf("\n%3d",t);
f=s;
s=t;
}
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: