Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  abc.c
Language: C/C++
Code:
#include<stdio.h>
#include<conio.h>
void main()
{
int a=-1,b=1,c,n;
clrscr();
printf("enter the number of terms");
scanf("%d",c);
for(int i=1,i<=n,i++)
{
c=a+b;
printf("%d",c);
a=b;
b=c;
}
getch();
}
Comments: