Integer comparison: Difference between revisions
Content added Content deleted
(Added BASIC example.) |
|||
Line 42: | Line 42: | ||
FI |
FI |
||
) |
) |
||
=={{header|BASIC}}== |
|||
'''Compiler''': [[QuickBasic]] 4.5 |
|||
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" |
|||
=={{header|Befunge}}== |
=={{header|Befunge}}== |