We want to implement a method that reverses the digits in an integer. For example, reverseInt(3456) should yield 6543.

Use this approach: Combine reverseInt(345) = 543 and the remainder 6 into 6543. This requires to multiply 6 with 103, the number of digits in 543.