Zoho Interview Question

Write a program to check palindrome