hmm heres some stupid code
cls: sync on : sync rate 60 : randomize timer()
dim myarray(10)
for i = 1 to 10
myarray(i) = rnd(10)
print myarray(i)
next i
for i = 1 to 10
if myarray(i) =0
print "array position "+STR$(i)+" has the lowest number"
else
print "not the mumma"
endif
next i
sync
suspend for key
end
I think tho you may need to look at a sorting method.
perhaps a bubble sort is more what you require.
If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself