Question d’entretien chez Qualcomm

Write a program to print a no in reverse in decimal format