Nabla Infotech interview question

write a string palindrome program.