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

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

1 Expert Approved Answer
Step: 1 Unlock

codecpp include include using namespace std int subPal... View full answer

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!