lib/Display Fibonacci Sequence Using Recursion.js
// program to display fibonacci sequence using recursion
program to display fibonacci sequence using recursion
program to display fibonacci sequence using recursion
function fibonacci(num) {
    if(num < 2) {
        return num;
    }
    else {
        return fibonacci(num-1) + fibonacci(num - 2);
    }
}
function fibonacci ( num ) { if ( num < 2 ) { return num ; } else { return fibonacci ( num - 1 ) + fibonacci ( num - 2 ) ; } }
program to display fibonacci sequence using recursion
program to display fibonacci sequence using recursion