Hi
i was wondering if someone could help me with this, i am trying to learn about array by fiddling around with them trying different things. I thought of a silly little thing to do but cant work out how to do it (which is frustrating me
:\'( ), here is my code so far
dim set(7)
for n = 1 to 7
set(n) = n
next n
do
input \"input a number: \", nbr
if nbr < 20 then
print \"your number is: \", set(1)
loop
but basicly what i want it to do is if the input in the first loop is less than 20 then print set(1), and then if the input is less than 20 the second time around then print set(2) etc, until a number over 20 is put in in which case it goes back to the start and if another number under 20 is put in again it prints set(1).
Its silly i know but i was hoping someone could help me work out how to do it.
Thank you