Question: A numerical palindrome is a number whose decimal digits are the same when read left-to-right or right-to-left. Write a recursive method that checks whether a

A "numerical palindrome" is a number whose decimal digits are the same when read left-to-right or right-to-left. Write a recursive method that checks whether a given num- ber is a numerical palindrome. DO NOT convert the number to a string. Your main method should prompt the user for a number, test it, and print the result. Hint: Getting the last digit of a number is easy. How would you get the first digit? Do it using some math and some code, not by having Java convert the number to a string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
