RosettaCodeData/Task/Integer-comparison/Bracmat/integer-comparison.bracmat

6 lines
122 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
get$:?A
& get$:?B
& (!A:!B&out$"A equals B"|)
& (!A:<!B&out$"A is less than B"|)
& (!A:>!B&out$"A is greater than B"|);