- Back to Home »
- GENERAL OR BASIC PROGRAMS , PATTERN PROGRAMS »
- Fibonacci series program in c using recursion
Posted by : ANIMESH SHAW
Tuesday, 1 May 2012
#include<stdio.h>
int Fibonacci(int);
main()
{
int n, i = 0, c;
scanf("%d",&n);
printf("Fibonacci series\n");
for ( c = 1 ; c <= n ; c++ )
{
printf("%d\n", Fibonacci(i));
i++;
}
return 0;
}
int Fibonacci(int n)
{
if ( n == 0 )
return 0;
else if ( n == 1 )
return 1;
else
return ( Fibonacci(n-1) + Fibonacci(n-2) );
}

Actually when someone doesn't know afterward its up to other users that they will help, so here it takes place.
cleaning hardwood floors
my homepage ... hardwood floors installation
My page - hardwood floors installation
Definitely believe that that you stated. Your favorite reason appeared to be at the internet the
easiest thing to take into accout of. I say to you, I certainly
get irked whilst people consider concerns that they plainly do not
recognise about. You controlled to hit the nail upon the highest as smartly as outlined out the whole thing without having side effect , people could take a
signal. Will probably be again to get more.
Thank you
My webpage - treatment for toenail fungus
I was suggested this web site by my cousin. I am not sure whether this post is written by him as no
one else know such detailed about my trouble.
You are incredible! Thanks!
Here is my web page; hardwood flooring
Great article! That is the type of information that
are supposed to be shared around the internet. Disgrace on
the seek engines for not positioning this put up higher!
Come on over and consult with my site . Thank you
=)
installing hardwood floors
Very descriptive blog, I enjoyed that bit. Will there be
a part 2?
refinishing hardwood floors
Look into my blog ... hardwood floor refinishing
Hi there! Do you know if they make any plugins to help with
Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good success.
If you know of any please share. Appreciate it!
My blog post ... telanganafb.com