RosettaCodeData/Task/Palindrome-detection/Icon/palindrome-detection-1.icon

4 lines
129 B
Plaintext

procedure main(arglist)
every writes(s := !arglist) do write( if palindrome(s) then " is " else " is not", " a palindrome.")
end