Private Sub Form_Click() Dim a(5) As Integer, b(5) As Integer Dim i As Integer For i = 1 To 4 a(i)

为什么答案是12呢?
2024-12-13 17:22:43
推荐回答(1个)
回答1:

a(1)=2
b(1)=2*2=4
a(2)=4
b(2)=4*2=8
a(3)=6
b(3)=6*2=12
a(4)=8
b(4)=16
for循环后i=5
b(5-2)=b(3)=12