求助: 随机产生50个10--90(含两端值)的两位整数,显示其中所有
qbasic吧
全部回复
仅看楼主
level 1
8584466 楼主
2006年10月23日 12点10分 1
level 1
clsrandomize timeroption base 1dim a(50) as integerfor i=1 to 50 a(i)=int(rnd*81)+10next ifor i=1 to 50 print a(i);next iend
2006年11月04日 15点11分 2
level 1
帮着改下DEGER的为了方便观看for i=1 to 50 print a(i); print " ";if i mod 10=0 then printnext i
2006年12月23日 14点12分 3
level 1
clsrandomize timerfor i=1to 50 a=int(rnd*81)+10 ?a;next iend
2008年05月16日 13点05分 4
level 8
CLSRandomize TimerFor I=1 to 50a=fix(rnd*(90-10+1))+10? anext IEnd
2008年09月07日 07点09分 5
level 1
randomize timer '产生一个随机种子
for i=1 to 50
 a=int(rnd*81)+10
 print a; '生成一个[10,90]的数字,并输出
next i
end
2009年02月22日 02点02分 6
1