Not able to find problem in my code

please check the problem in my code.

Akshita, the approach you are using in your code is wrong… I would recommend you to go through the online video on the same and change your approach accordingly…

https://ide.codingblocks.com/s/175937 mam plz check, it’s still not working

mam please check the code

Wait… I m going through your code…

I have edited your code… Try to submit it now…