RosettaCodeData/Task/Pick-random-element/BASIC256/pick-random-element.basic
2023-07-01 13:44:08 -04:00

6 lines
164 B
Text

dim a$ = {"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"}
for i = 1 to 5
randInt = int(rand * 10)
print a$[randInt]
next i