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

5 lines
158 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
: 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 ;