What's wrong with this CODE (FLOW007)

Here is my code: https://ideone.com/NZs2ta
The expected output is also produced and the limits of the variables is also satisfied. The output format is also correct. Is it that we don’t have to print leading zeros? Please help me with the code.
Thanks a lot!

Yes, the reversed number of 543210 should be 12345, not 012345.

Of course, you need to remove leading zeros, cause you were asked to display the reverse number of given number and numbers don’t have leading zeros. Maybe the edit helps Solution. Although I personally don’t recommend this approach, what if you were asked to return the reverse number also, just think about that.

//