RosettaCodeData/Task/Even-or-odd/AntLang/even-or-odd.antlang
2016-12-05 23:44:36 +01:00

2 lines
35 B
Text

odd: {x mod 2}
even: {1 - x mod 2}