dont understand why this code is not passing first two test cases
Code not passing first two test cases
hey @sans_sehgal, consider this testcase
input =9
your output=9
expected ouput =0
you can take the idea with this code https://ide.codingblocks.com/s/88066