i = 1 : n = 5
Do While i <= n
x = Int(Rnd * 9) + 1
If x Mod 2 = 1 Then
a(i) = x
Else
a(n) = x : n = n - 1
End If
i = i + 1
Loop
已知数组a中各元素初始值均为0,执行该程序段后,数组a(1)至a(5)各元素值不可能的是( )
微信扫码预览、分享更方便