求助:随机产生一个4*4距阵,距阵中数的范围是0--20(含两端值),
qbasic吧
全部回复
仅看楼主
level 1
8584466
楼主
2006年10月23日 12点10分
1
level 1
DEGER
clsrandomize timeroption base 1dim a(4,4)for i=1 to 4 for j=1 to 4 a(i,j)=int(rnd*21)next j,ifor i=1 to 4 for j=1 to 4 Print using"###";a(i,j); next j printnext iend
2006年11月04日 05点11分
2
1