Https://ide.codingblocks.com/s/237583

one test acse not getting clear

Check for these case:
If input is 9–> output must be 9.
If input is 99–>output must be 90
If input is 999–>output must be 900
Note that leading digits cannot be converted to 0.So if the first digit is 9, then it remains 9.

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.