下面代码执行后,在消息框中显示的消息是______。 Dim i, j As Integer, s As St...
单项选择题下面代码执行后,在消息框中显示的消息是______。 Dim i, j As Integer, s As String Dim intPrime As Integer() = { 0, 0, 2, 3, 4, 5, 6, 7, 8, 9 } For i = 2 To intPrime.GetUpperBound(0) - 1 If intPrime(i) <> 0 Then s &= intPrime(i) & "," For j = i + 1 To intPrime.GetUpperBound(0) If intPrime(j) Mod intPrime(i) = 0 Then intPrime(j) = 0 Next End If Next MsgBox(s)
A、2,3,5,7,
B、2,3,4,5,6,7,8,9,
C、2,4,6,8,
D、3,6,9,
A.GetUpperBound(0)
B.GetUpperBound(0)