RosettaCodeData/Task/Integer-comparison/True-BASIC/integer-comparison.basic

8 lines
206 B
Plaintext

PRINT "Please enter two integers, separated by a comma: ";
INPUT 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
END