HCLTech interview question

write down the program to find word is palindrome.