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!
Step by step
Solved in 5 steps with 3 images