For the program I need to write, I have to make sure that the user gives me a five-digit number which is in the form of a palindrome. The program must check to make sure that the number is a palindrome, and if it is not, that it gives an error.
Does anyone have any idea how to do something like that? I am using Eclipse, if it helps.
Mostly, I just need help making sure that the number given to the program is only five digits, no more and no less.