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

6 lines
196 B
Text
Raw Permalink Normal View History

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