'生成6个随机正整数,依次存入数组a(1)到(6),代码略
Const n = 6
k = Int(Rnd * 3)
For i = 1 To 2
For j = 1 To n - i - k
If a(j) > a(j + 1) Then
t = a(j): a(j) = a(j + 1): a(j + 1) = t
End If
Next j
Next i
执行上述程序段后,下列选项中,a(1)到a(6)各元素的值不可能是( )
微信扫码预览、分享更方便