The problem
Write a method with the following header to display an integer in reverse order. For example, reverse(3456) displays 6543. Write a test program that prompts the user to enter an integer and displays its reversal.
Write a method with the following header to display an integer in reverse order. For example, reverse(3456) displays 6543. Write a test program that prompts the user to enter an integer and displays its reversal.