Pregunta de entrevista de Anonymous

Write a program to reverse a number.