#include
int main()
{
void fib(int f1,int f2, int n)
{
static int i = 1;
int f3;
if(i <= n)
{
f3 = f1+f2
printf("%d", f3);
f1 =f2;
f2= f3;
i++ ;
fib(f1,f2,n);
}
}
return 0;
}
what error is there in this code, say correct answer
Answers
Answered by
0
Ans: #include
it should be
#include<stdio.h>
Similar questions
Math,
2 months ago
English,
2 months ago
Computer Science,
5 months ago
Physics,
11 months ago
History,
11 months ago