Question d’entretien chez Principal Financial Group

Write a program to check whether the given string is a palindrome String reversal