Pregunta de entrevista de Calsoft

write a program to reverse a number