its also showing true
Pls check out for any error/mistake and comment it out
hi @suryansh771
after this while loop, the value of n is zero. So the rest of the code will not work.

how to correct it pls comment it out
its still not working
i have try to copy n to another varible s
hi @suryansh771 see your corrected code here https://ide.codingblocks.com/s/295801
Let me know if you dont understand anything
1 Like
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.