Documentation (comments) a 1. Write a program that reads in a 5-digit integer number, and determines if it a palindrome
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Documentation (comments) a 1. Write a program that reads in a 5-digit integer number, and determines if it a palindrome
Documentation (comments) a 1. Write a program that reads in a 5-digit integer number, and determines if it a palindrome or not. If a number remains same, even if we reverse its digits then the number is known as palindrome number. For example, 12321 is a palindrome number. Test run 1: Enter an integer (must be 5 digits): 12321 12321 is palindrome Test run 2: Enter an integer (must be 5 digits): 12345 12345 is not palindrome