FUNCTION PROCEDURE TO INPUT A STRING AND CHECK WHETHER IT IS PALINDROME OUT NOT.

depending on the language, just check

s == reverse(s)