Question: follow the instruction thank you 1. C++ Source code in text 2. Validation Test run result text output (legible font >- 10 points) Test Run


1. C++ Source code in text 2. Validation Test run result text output (legible font >- 10 points) Test Run Driver 1) If a test driver (main) is provided for an assignment, use it. 2) If the test driver is not provided, follow the sample test run example and implement your own test driver that perform the same User Interface U/l in the same form and format. Implement the test driver according to what the test run example. 2.1. In some rare class, the example does use hard coded (built-in) test data, only for the real basic ones. 2.2 Majority of the assignments, the test run example does have an U/I query for user to enter test data. using STL Abstract Data Type (ADT) palindrome.cpp In this exercise, we are going to determine whether the user input text string is a palindrome using: built-in features of the string class, such as the constructor, iterator, element access and capacity: recursion: other STL ADT (ref. on Salusplus.com Containers) such as stack and/or vector to determine whether the user input text string is a palindrome A palindrome is any word, phrase, or sentence that reads the same forward and backward. Here are some well-known palindromes: Able was lere I saw Elba A man, a plan, a canal, Panama Desserts, I stressed Kayak Write a bool function that uses recursion to determine if a string argument is a palindrome. The function should return true If the argument reads the same forward and backward. Demonstrate the function in a program, Starter palindrome starter.cpp (on Github) Please complete the attached palindrome test starter with STL string library calls. Test Pattern string teststring(6) - "ABLE WAS 1 ERE I SAW ELBA "FOUR SCORE AND SEVEN YEARS AGO". "NOW IS THE TIME FOR ALL GOOD MEN". DESSERTS I STRESSED ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU". KAYAK Test Pattern string teststrings [6] - (ABLE WAS 1 ERE I SAW ELBA "FOUR SCORE AND SEVEN YEARS AGO "NON IS THE TIME FOR ALL GOOD MEN "DESSERTS I STRESSED "ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU "KAYAK" ); Sample Test Run Running /home/ubuntu/workspace/COMSC/200/Wecko2/testPalindrome.cpp "ABLE WAS I ERE I SAW ELBA" Is a palindrome. "FOUR SCORE AND SEVEN YEARS AGO" is NOT a palindrome, "NOW IS THE TIME FOR ALL GOOD MEN" is NOT a palindrome. "DESSERTS I STRESSED' is a palindrome. "ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU" Is NOT a palindrome. "KAYAK is a palindrome Submit palindrome.cpp Validation Test Run Result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
