I need help in creating a program on palindrome(anna, otto)

asking the user for a string and test whether it's a palindrome and prints the approprite message.

Please help me.