Fibonacci series using Recursion

Program to print the fibonacci series using Recursion :

ALGORITHM:

FIBONACCI(int n)

  1. SET a=0
  2. SET b=1
  3. if(n>0)
    {
    SET c = a + b
    SET a = b
    SET b =c
    PRINT c
    FIBONACCI(n-1)
    }

C SOURCE CODE:

Leave a Reply

Your email address will not be published. Required fields are marked *