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

1 answer

depending on the language, just check

s == reverse(s)