RosettaCodeData/Task/Integer-comparison/BaCon/integer-comparison-2.bacon
2023-07-01 13:44:08 -04:00

7 lines
206 B
Text

CLS
INPUT "a, b"; a, b 'remember to type the comma when you give the numbers
PRINT "a is ";
IF a < b THEN PRINT "less than ";
IF a = b THEN PRINT "equal to ";
IF a > b THEN PRINT "greater than ";
PRINT "b"