For i = 1 To 5
a(i) = Int(Rnd * 10)
Next i
For i = 2 To 5
If a(i) < a(i - 1) And a(i) Mod 2 = 1 Then
a(i) = a(i) + 1
ElseIf a(i) Mod 2 = 0 And i Mod 2 = 0 Then
a(i) = a(i - 1) - 1
End If
执行程序后,a数组各元素不可能的是( )
微信扫码预览、分享更方便