Reversed number Assignment problem

https://ide.codingblocks.com/#/s/12947

I am submitting the above code and i am getting the reverse.But when i Submit the code in online judge,it telling that answer is wrong.Link of the question is below-

https://hack.codingblocks.com/contests/c/474/70

1 Like

hey aman,
You are absolutely right in your approach with your code
Just read the output format, it simply says that you need to only print the reversed number
So dont print the string "Reversed Number = ". this string is not required
just write:
cout<<reversednumber;

Hope this helps

Thank you so much for your help.I got it pass through online judge :smile:

1 Like