#include<stdio.h>
#include<conio.h>
void main()
{
printf("The first 20numbers of Fibonacci series are:");
int a=0, b=1, c, n=2;
printf("%d \t, %d", &a, &b);
while(n<20)
{
c=a+b;
printf("\t %d", &c);
a=b;
b=c;
n++;
}
getch();
}
Exactly what do you mean by 'C program in Java'
//to generate Fibonacci series upto a range of 200....(in C).... #include<stdio.h> main() { int a,b,c,i; a=0; b=1; printf("\n FIBONACCI SERIES .....\t"); i=1; while(i<=(200-2)) { c=a+b; printf("\t%d",c); a=b; b=c; i++; } }
20 is not a term in the Fibonacci series.
i dn't know. haha
Fibonacci!
As you expand the Fibonacci series, each new value in proportion to the previous approaches the Golden Ratio.
Yes, this can be done. For example for Fibonacci series. You will find plenty of examples if you google for the types of series you need to be generated.
You mean you have written a program, but you don't understand it? Well, how could I explain it without seeing it?
132134...
Series
It is 354224848179261915075.
The Fibonacci series.