Infosys Interview Question

write a code program for palindrome.