Im getting wrong o/p for this code can you modify this with comments
hi @kishoretaru https://ide.codingblocks.com/s/277237
since the relation is f(n) = f(n-1) + f(n-2) for n > 2 we need to determine the base case for n = 1 and n = 2 ourselves.
Can you change that in code
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.