#T749. 倒序数
倒序数
Description
Enter a four-digit integer and output its digits in reverse order. For example, if the input is 4837, the output should be 7384.
Input Format
A four-digit integer
Output Format
Output the four-digit integer in reverse order
4837
7384
Hint
Use integer division and modulo operations to complete the task.
Source
CodesOnline