Last updated 1 year ago
Write a program to reverse the given number.
Input: number
Output: number
Input: 123
Output: 321
Input: 1034
Output: 4301
Input: 3000
Output: 3