You are required to write a code that requires the user to consecutively enter non-negative integer numbers between 0 and 99999. Each entered number must be checked if it is plaindrome or not. A palindrome number reads the same forward as backward. For example, the numbers 22,898,5005 , and 19791 are plaindrome. The code must print the total count of plaindrome numbers entered by the user. The code must end when the user enters a number out of the allowed range (i.e. a negative number or a number greater than 99999). IMPORTANT NOTES – Do not add any cout statements except for the final answers as shown in the sample cases. Do not add “Enter a number”, “The total count of palindrome numbers is” or any similar prompts. – One-digit numbers are considered palindrome.

27 0

Get full Expert solution in seconds

$1.97 ONLY

Unlock Answer

EXPERT ANSWER