RosettaCodeData/Task/Integer-comparison/8th/integer-comparison.8th

5 lines
158 B
Plaintext

: compare \ n m --
2dup n:= if "They are equal" . cr then
2dup n:< if "First less than second" . cr then
n:> if "First greater than second" . cr then ;