Fibonacci Number Using Recursion

Fibonacci Number Using Recursion

The Code is in both java and C++

Fibonacci Number of Nth Number

In Below code we have used recursion to return Fibonacci number and Fibonacci series.

Example 1:

Paste Input in :"Stdin Input" to execute the code.

Input :-

10

Output :-

55

Code in C++

Code in Java

Example 2:
Input :-

15

Output :-

610