Capgemini Interview Question

Write a program to reverse a number (integer number)