Question: Do the same problem as given in Programming Exercise 1 but do worry about complications such as capitalization, spaces, and punctuation.That is,Madam, Im Adam should
Do the same problem as given in Programming Exercise 1 but do worry about complications such as capitalization, spaces, and punctuation.That is,“Madam, I’m Adam” should test as a palindrome. For example, the testing function could reduce the string to “madamimadam” and then test whether the reverse is the same. Don’t forget the useful cctype library.You might find an STL function or two useful although not necessary.
Step by Step Solution
3.52 Rating (152 Votes )
There are 3 Steps involved in it
ANSWER include i ost ream include string include c ct ype include al gorithm using namespace st... View full answer
Get step-by-step solutions from verified subject matter experts
