sir this a code for the problem where we need to replace all the 0 with 5 can you please check it because I am getting a test case failure
Regarding this problem
hi. what u can do is simply convert the integer to string and traverse over the string… whenever u get 0 make it 5… refer this https://ide.codingblocks.com/s/601793
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.