C
Programming and Technical
Write a program to generate the Fibinocci Series
Read Solution (Total 1)
-
- %for series upto 12 nos. i.e. 0 1 1 2 3 5 8 13 21 34 55 89%
#include
#include
void main()
{
int i=3,a=0,b=1,x;
printf("%dt%d",a,b);
do
{
x=b;
b=a+b;
a=x;
printf("t%d",b);
i++;
}while(i - 11 years agoHelpfull: Yes(0) No(0)
C Other Question