Question: Please help on C + + A palindrome is a string such as madam , radar , dad , and I that reads the same

Please help on C++
A palindrome is a string such as madam,radar,dad, and I that reads the same forwards and backwards. The empty string is regarded as a palindrome. Write a recursive function
bool isPalindrome(string str, int lower, int upper)
that returns true if and only if the part of the string str in positions lower through upper (inclusive at both ends) is a palindrome. Test your function by writing a main function that repeatedly asks the user to enter strings terminated by the ENTER key. These strings are then tested for palindromicity. The program terminates when the user presses the ENTER key without typing any characters before it.
Directions
Plan the solution to the problem above with an IPO chart.Then write the code using visual studio.After you have completed your program, upload the entire zip folder containing your program and planning documents to this assignment.

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 Programming Questions!