2 Palindrome Sequence Characters Reads Forward Backward One Example Letters Madam Form Wor Q37131222

2. A palindrome is a sequence of characters that reads the same forward or backward. One example is the letters madam, which

2. A palindrome is a sequence of characters that reads the same forward or backward. One example is the letters madam, which form the same word whether you read it forward (left to right), or backwards (right to left). Write a program called problem2.cpp that checks whether a sequence of characters forms a palindrome or not using stacks. Your program should ask the user how many characters s/he is going to input, read the characters

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.