Question: Please write this program in C++ Your second programming task is to build a decider, much like the one that you built in Lab 1

Please write this program in C++ Your second programming task is toPlease write this program in C++

Your second programming task is to build a decider, much like the one that you built in Lab 1 . Again, your decider will ask the user to submit a word, and again it will determine whether or not that word has a certain property. In this case, your decider is looking for palindromes (words that are spelled the same both forwards and backwards). And in fact, this decider isn't so picky. It will also accept palindromes that it deems "close enough". A word is "close enough" to being a palindrome if the first three characters (or more) of the word match the corresponding three characters (or more) at the end of the word. If the user submits a true palindrome, your program will not only print an enthusiastic confirmation, but it will also continue to prompt for additional words. Same thing if the user submits a "close enough" palindrome, albeit with a less enthusiastic confirmation. If the user submits a word that is neither a true palindrome nor a "close enough" palindrome, your program should thank them for their time and terminate. A program that demonstrates this functionality can be run with

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!