RosettaCodeData/Task/Integer-comparison/Zkl/integer-comparison.zkl

3 lines
131 B
Plaintext

var x,y; x,y=ask("Two ints: ").split(" ").apply("toInt")
(if (x==y) "equal" else if (x<y) "less" else if(x>y) "greater").println()