RosettaCodeData/Task/Even-or-odd/Nom/even-or-odd.num
2025-08-11 18:05:26 -07:00

8 lines
206 B
Text

# Least signficant digit method
read;
![:space:] {
whilenot [:space:];
[0-9] { E"1",E"3",E"5",E"7",E"9" { add " *ODD!*"; } }
print; clear;
}
[:space:] { while [:space:]; print; clear; }