HCLTech Interview Question

write down the program to find word is palindrome.