Tavant Interview Question

Write a programme for palindrome