【单选题】下列程序的输出结果是 ( ) 。 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...
【单选题】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 i print K End sub