Question: 2. Write palindrome program c++ to check whether the string given is a palindrome or not. If the given sequence is palindrome your program should
2. Write palindrome program c++ to check whether the string given is a palindrome or not. If the given sequence is palindrome your program should print It is a palindrome, if not (if the given sequence is not palindrome) your program should print It is not a palindrome.
Use some example texts such as:
"Able was I ere I saw Elba"
"Are we not drawn onward, we few, drawn onward to new era"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
