Virtusa Interview Question

Write a program on palindrome