Doubt in my code

My code has become too messy and I am also not getting the desired result can you tell me what’s wrong in my code

Copy your code on online ide (https://ide.codingblocks.com/), save it and share the corresponding link with me here.

Arsh

In other compiler I tried my new code it’s working but not here

Please share your updated code through (https://ide.codingblocks.com/).
Just copy paste your code here and save the link and share it.

It’s working now I refreshed the website and now it’s working

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.


Mam pls check why it is showing time limit exceed and how can I resolve it @Mihir.sood