+ 1

How to Write a program in C++ to check whether user entered string is palindrome or not?

10th Nov 2018, 3:13 PM
Suyash Gatkal
Suyash Gatkal - avatar
3 Answers
+ 5
1. write your pseudo code first. 2. then decide how you want to implement it into your chosen Language. 3. test and refine. you'll want to put each character in a container or iterate through a string(array of char*). then.. you could save a reversed string in a variable and compare it with the original... I'd give you the code but it seems like you'd like to figure it out for yourself, with such a vague question.
10th Nov 2018, 3:19 PM
Brandon Autry
Brandon Autry - avatar
+ 12
here is the challenge link for palindrome checker , U will find much more posts using search feature of q/a //though it would be better if U have provided a code for palindrome https://www.sololearn.com/Discuss/766750/?ref=app
10th Nov 2018, 3:22 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 6
https://code.sololearn.com/cTZN283iy104/?ref=app
10th Nov 2018, 3:19 PM
Aleksander Szczepura
Aleksander Szczepura - avatar