Write a program that prompts the user to enter a three-digit integer and determines whether it is a palindrome integer.

Question:

Write a program that prompts the user to enter a three-digit integer and determines whether it is a palindrome integer. An integer is palindrome if it reads the same from right to left and from left to right. A negative integer is treated the same as a positive integer. Here are sample runs of this program:
Enter a three-digit integer: 121
121 is a palindrome
Enter a three-digit integer: 123
123 is not a palindrome

This problem has been solved!


Do you need an answer to a question different from the above? Ask your question!

Step by Step Answer:

Question Details
Chapter # 3
Section: Programming Exercises
Problem: 12
View Solution
Create a free account to access the answer
Cannot find your solution?
Post a FREE question now and get an answer within minutes. * Average response time.
Question Posted: May 03, 2021 07:17:31