nth Fibonacci Number using Recursion in C++ By Shirish Koirala June 18, 2016 #include using namespace std; int fib(int n){ if(n < 2){ return 1; } else{ return (fib(n-2) + fib(n-1)); } } int main(){ cout << fib(6); return 0; } Read more