RosettaCodeData/Task/Integer-comparison/TI-89-BASIC/integer-comparison-2.basic
2023-07-01 13:44:08 -04:00

9 lines
247 B
Text

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