C Program to print fibonicci series
#include<stdio .h="">
#include<conio .h="">
void main()
{
int a=0,b=1,c,n,i;
clrscr();
printf("\nEnter the no:");
scanf("%d",&n);
printf("%d %d",a,b);
for(i=3;i<=n;i++)
{
c=a+b;
a=b;
b=c;
printf(" %d",b);
}
getch();
}
**************OUTPUT************
Enter the no:10
0 1 1 2 3 5 8 13 21 34</conio></stdio>