Accenture Interview Question

Write a code of palindrome