https://hack.codingblocks.com/contests/c/474/158
http://ide.codingblocks.com/#/s/14667
My output is correct but test cases are failing.
https://hack.codingblocks.com/contests/c/474/158
http://ide.codingblocks.com/#/s/14667
My output is correct but test cases are failing.
You are required to print fibonacci terms which are less than equal to ānā. But, you are printing first ānā fibonacci terms.
So the condition should be
while(i<=n)
It should be c<=n (i<=n, you are already doing)
OK. Got it.
Thank You.