Const n=5
Dima(1 to n) as integer,c(1 to n) as integer
For i=1 to n
a(i)=int (rnd*10)+1
c(a(i))=c(a(i))+1
Next i
For i=10 to 1 step -1
For j=1 to c(i)
Text1.Text = Text1.Text + Str(i)
Next
执行以上程序段后,Text1 中显示的值可能是( )
微信扫码预览、分享更方便