RosettaCodeData/Task/Integer-comparison/TI-89-BASIC/integer-comparison-2.basic

10 lines
247 B
Plaintext

10 REM Integer comparison
20 PRINT "Enter a number"
30 INPUT A
40 PRINT "Enter another number"
50 INPUT B
60 IF A < B THEN PRINT A;" is less than ";B
70 IF A > B THEN PRINT A;" is greater than ";B
80 IF A = B THEN PRINT A;" is equal to ";B
90 END