J.P. Morgan Interview Question

Given an integer, print the integer with the order of digits reversed.