Xoriant Interview Question

Write a down a program to find out the given string is palindrome or not.