Whatfix interview question

4. Write a Program to reverse a Number.