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

1 Expert Approved Answer
Step: 1 Unlock

ANSWER include i ost ream include string include c ct ype include al gorithm using namespace st... View full answer

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 Introduction Java Program Questions!