RosettaCodeData/Task/Palindrome-detection/Icon/palindrome-detection-1.icon
2023-07-01 13:44:08 -04:00

3 lines
129 B
Text

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