第1个回答 推荐于2016-01-25
dim ar(1 to 50) as integer
'--------------------------------------------
private sub command1_click()
randomize
dim i as integer
for i=1 to 50
ar(i)=int(100*rnd)
next
'-------------------------------------
for i =1 to 50
if ar(i) >90 then
print ar(i) , i
end if
next
end sub本回答被提问者采纳