Question d’entretien chez Comviva

Write a program to reverse a number