Cognizant Interview Question

Write a palindrome program in language of your choice