RosettaCodeData/Task/Conditional-structures/BASIC/conditional-structures-6.basic

10 lines
137 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
10 INPUT "Enter 1,2 or 3: ";v
20 GOTO v * 100
99 STOP
100 PRINT "Apple"
110 STOP
200 PRINT "Banana"
210 STOP
300 PRINT "Cherry"
310 STOP