Pages
Home
About Me
JAVA
.NET
शायरी
C/C++
Contact us
theme
" जीतने वाले छोड़ते नहीं और छोड़ने वाले जीतते नही
"
Thursday, July 8, 2010
fibonic serise in c
#include
#include
void main() { int a=0,b=1,c,i; clrscr(); printf("%d\n%d",a,b); for(i=1;i<=5;i++) { c=a+b; printf("\n%d",c); a=b; b=c; } getch(); }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment