Search This Blog

Translate

c program print print 15 terms of fibonacci series

c program print print 15 terms of fibonacci series,c program to print fibonacci series using recursion,c program to print fibonacci series using function,c program to print fibonacci series using while loop,c program to print fibonacci series without recursion,c program to print fibonacci series in reverse order,c program to print fibonacci series of given range,c program to print fibonacci series upto 100,c program to print fibonacci series using pointers,

c program print print 15 terms of fibonacci series

#include"stdio.h"
#include"conio.h"
void main()
{
int f1=0,f2=1,fib,i;
clrscr();
printf("First 15 terms of fibonacci series is=\n\n");
printf("\n %d %d",f1,f2);
for(i=0;i<13;i++)
{
fib=f1+f2;
f2=fib;
f1=f2;
printf(" %d",fib);
}
getch();
}




c program print print 15 terms of fibonacci series,c program to print fibonacci series using recursion,c program to print fibonacci series using function,c program to print fibonacci series using while loop,c program to print fibonacci series without recursion,c program to print fibonacci series in reverse order,c program to print fibonacci series of given range,c program to print fibonacci series upto 100,c program to print fibonacci series using pointers,

C Program example List

Google+ Badge