Reverse a Number

0

0 votes
Easy
Problem

Write a program to reverse the digits of a given number.

Sample Input
1323
Sample Output
3231
Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation

In the sample input, the given number is 1323. And, it's reverse will be 3231, the desired output.

Editor Image

?