Question: A Palindrome Write a program that prompts the user to enter a four-digit positive integer, then it checks whether the number is a palindrome or
A Palindrome Write a program that prompts the user to enter a four- digit positive integer, then it checks whether the number is a palindrome or not. A number is a palindrome if it reads the same whether it read left to right or right to left. For example, the number 2662 is a palindrome, while the number 2635 is not a palindrome. Sample input/output: Enter five-digit positive integer: 26762 26762 is a Palindrome
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
