Wipro interview question

Palindrome program