Question: C++ simple code please ooo TFW 8:06 AM instructure-uploads.s3.amazonaws.com A man, a plan, a canal- Panama For this to be a palindrome, a few assumptions

C++ simple code please  C++ simple code please ooo TFW 8:06 AM instructure-uploads.s3.amazonaws.com A man,

ooo TFW 8:06 AM instructure-uploads.s3.amazonaws.com A man, a plan, a canal- Panama For this to be a palindrome, a few assumptions must be ade Uppercase and lowercase letters are treated as the same characte Nonalphabet characters (space, comma, hyphen, esclamaon * are "pared In a C++ program named palindrome cpp Create a recursive function nameod isFalindrone) that determines whether a given character aay (string) is a palindrome or not Return type: bool Parameters o Pointer to character aay Imeger size of character aray The function considers every character (including non-alphabet characions) and teats uaand lowgrcase versions of the same leter to be difsenent o o Oois not considered a palindrome, whercas "otto"is my gym" is not considered palindrome, whercas "mym"is - In the first call to the isPalindrone function, the first and last character of the charater annay is compared o If they are different, then the character array is not a palindrome. o If they are the same, then the charaster aray may be a palindrome, but the rest of the amay must be chocked So, the function is recursively caliled, using the characir aay WTTHOUT e frst and last characters. This process repeats untill there are 0 or 1 charactens) left o The function should print out which nemaining part of the character is being checked Write anain function that tests the iaPalindrone function using wser inut Prints out the resulting value in a micely foematied equation, as shown in the samgle esecuion A sample run of the peogram is shows below ANPLE RUN Enter a character array to find out if it is a palindcome acecar Checking: racecar Checkings aceca Checkings ce Checking racecar is a palindrone Press any key to conti Eater a character azeay to find out it it is apalindeo Checking: racebar Checking: aceba acebaz racebar s NO a palindrome

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!