Question d’entretien chez Wipro

write a program to check whether a string is palindrome