【单选题】下列程序的输出结果是 ( ) 。 Dim i As Integer, k As Integer Dim a(10) As Integer, p(3) As Integer k = 5 For i = 0 To 9 a(i) = i Next i For i = 0 To 2 p(i) = a(i * (i + 1)) Next i For i = 0 To 2 k = k + p...
【单选题】以下程序的输出结果是( )。 Option Base 1 Private Sub Command1_Click() Dim a(10), p(3) As Integer k = 5 For i = 1 To 10 a(i) = i Next i For i = 1 To 3 p(i) = a(i * i) Next i For i = 1 To 3 k = k + p(i) * 2 Next...
【单选题】以下程序的输出结果为______。 Dim a(10) As Integer, p(3), i, k As Integer For i = 1 To 10 a(i) = 2 * (i - 1) + 1 Next i For i = 1 To 3 p(i) = a(i * i) Next i For i = 1 To 3 k = k + p(i) \ 2 Next i...