RosettaCodeData/Task/Integer-comparison/QBasic/integer-comparison.basic

6 lines
196 B
Plaintext

INPUT "Please enter two integers, separated by a comma: ", x, y
IF x < y THEN PRINT x; " is less than "; y
IF x = y THEN PRINT x; " is equal to "; y
IF x > y THEN PRINT x; " is greater than "; y