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