All Data For Free
Pages
Home
Watch Full WWE Episodes of Raw and Smackdown
Contact Us
Copyright Policy
Sunday, 11 December 2011
Write a program to print Series by user in c
#include
#include
main()
{
int f=0,f1=1,f2=0,n;
clrscr();
printf("Enter fast range");
scanf("%d",&n);
while(f1
{
printf("%d",f2);
f=f1+f2;
f1=f2;
f2=f;
}
getch();
}
OUTPUT
Enter fast range : 5
0 1 1 2 3 5
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment