Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A word palindrom is a sentence that reads the same, word by word, backward and f

ID: 3534952 • Letter: A

Question

A word palindrom is a sentence that reads the same, word by word, backward and forward ( ignoring punctuation and capitalization). An example is " you can cage a swallow, can't you, but you can't swallow a cage, can you?" write a program that requests a sentence and then determines whether the sentence is a word plaindrome. the program should place the words of the sentence in an array and use function procedure to determine wether the sentence is a word plaindrom. ( test the program with the sentences " monkey see, monkey do." and " I am; therefore, am I?")



note: excute the statement sentence=sentence.Replace(",", "") to remove all the commas in sentence, and then remover other punctuation marks similarly. After that, use the space charachter as a delimiter for the split method.

Explanation / Answer

Working...

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote