Question: In C++ create a function palindrome() to determine if a number is a palindrome. Create a function that will reverse digits digRev() to reverse the

 In C++ create a function palindrome() to determine if a number

In C++ create a function palindrome() to determine if a number is a palindrome. Create a function that will reverse digits digRev() to reverse the given integer before testing if it a palindrome. User inputs must be postive Example Case: Enter a positive integer: 1234321 The number 1234321 is a palindrome. Would you like to check another number? (y) y Enter a positive integer: -4565 Enter a positive integer: 456543 The number 456543 is not a palindrome. Would you like to check another number? (y) n Good bye

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!