#1 and #3 give wrong ans
https://ide.codingblocks.com/s/53016
here is my code
Chewbacca - and number
Hey Ankush, you code is not handling all the case. for eg. check for this case
input:
99999
your code’s output:
99999
but the expected output is:
90000