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

7 lines
186 B
Text

input "Enter an integer for a. ";a
input "Enter an integer for b. ";b
for i = 1 to 3
op$=word$("< = >", i)
if eval("a"+op$+"b") then print "a"+op$+"b " ; a;" ";op$;" ";b
next