Let me help you get thinking. You can try writing the code yourself.

Divide the number by 10 and take the mod (remainder) value. You get the first digit.

Now divide the number by 10 and ignore the part after the decimal.

Divide the number by 10 again and take the mod value. You get the second digit.

Now divide the number by 10 and ignore the part after the decimal.

And so on...till you have got all the digits.

Now place them all in the reverse order and print them out (if you want to use string operations).

If you don't want to use string operations, you can start multiplying the last digit by 10.

Then the second last by 10*10 = 100

Then the third last by 10*10*10= 1000

And so on....

Finally add this result and you will get the reversed number.

15,608,404 members

--SA