RosettaCodeData/Task/Integer-comparison/BaCon/integer-comparison-2.bacon

8 lines
206 B
Plaintext

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"