Question: Write a C++ program in which, read a c-string from user. Now your task is to find either the entered string is a palindrome

Write a C++ program in which, read a c-string from user. Now your task is to find either the entered string is a palindrome or sub-palindrome. Example 1 Input: Heisieh Output: Palindrome Example 2 Input: Bilal Output: Sub- Palindrome Example 3 Input: abcd Output: Not Palindrome
Step by Step Solution
3.37 Rating (150 Votes )
There are 3 Steps involved in it
codecpp include include using namespace std int subPal... View full answer
Get step-by-step solutions from verified subject matter experts
