Question Write a c++ program that determines whether or not a string of alphanumeric characters is a palindrome.
Write a c++ program that determines whether or not a string of alphanumeric characters is a palindrome. Ignore any whitespace characters or punctuation when processing the string. You will be required to demonstrate pointer math and dereferencing. The
You will be required to separate your interface from your implementation; you must have a header file (.h) for your interface, and a source file (.cpp) for your implementation. Be sure to perform data validation on your input to prevent buffer overflows.
Your code should present the user with prompts similar to the following:
(image included)
Here are some example palindromes you can test with:
Mr. Owl ate my metal worm
Do geese see God?
Was it a car or a cat I saw?
Murder for a jar of red rum
A nut for a jar of tuna
Go hang a salami, I'm a lasagna hog!
![Enter string to test, 50 chars max, ctrl-C to end:
Mr. Owl ate my metal worm
The string "Mr. Owl ate my metal worm" is a palindrome!
Enter string to test, 50 chars max, ctrl-C to end:
123454321
The string "123454321" is a palindrome!
Enter string to test, 50 chars max, ctrl-C to end:
I think, therefore I am
The string "I think, therefore I am" is NOT a palindrome!
Enter string to test, 50 chars max, ctrl-C to end:](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Faf2a9245-87db-4e54-b147-768ccba693e7%2Fe50afd69-e43b-403b-aea9-a29579b76f04%2Fdcs79v_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 5 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)