logistic_guy
Senior Member
- Joined
- Apr 17, 2024
- Messages
- 2,214
A \(\displaystyle \text{palindrome}\) is a number or a text phrase that reads the same backward as forward. For example, each of the following five-digit integers is a \(\displaystyle \text{palindrome}\): \(\displaystyle 12321, 55555, 45554 \ \text{and} \ 11611\). Write a program in the \(\displaystyle \text{C}\) language that reads in a five-digit integer and determines whether or not it’s a \(\displaystyle \text{palindrome}\). [Hint: Use the division and remainder operators to separate the number into its individual digits.]