sir what is wrong in this code??
Doubt in fibonccai
every thing is correct
it is giving correct ans
5th fibo no is 5
fibonacci series
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 …
if you have more doubts regarding this feel free to ask
i hope this helps
if yes hit a like
: and don’t forgot to mark doubt as resolved 