Two test cases are not passing


plz help me with this code

Hi… refer to my code https://ide.codingblocks.com/s/598727

Sir, I can easily get the correct code from the internet but I wanted to know what is wrong with my approach otherwise provide me some corner test cases to understand it .

ur code is failing here…
check for input 99999
correct o/p should be 90000
ur o/p 00009

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.