Fibonacci Series - Online Code

Description

To write fibonacci series using recursion

Source Code

#include<stdio.h>
void fibonacci(int lim,int a,int b,int m);
main()
{
int n=0,x=-1,y=1,m;
printf("\nenter the lim\t:\t");
scanf("%d",&m);
fibonacci(n,x,y,m);
}
void fibonacci(int lim,int a,int b,in
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.