运行下列程序:Private Sub Form_Click()Dim sum As IntegerDim i As Integersum = 0For i =12
16 查阅
运行下列程序:
Private Sub Form_Click()
Dim sum As Integer
Dim i As Integer
sum = 0
For i =12.4 To3.1 Step -3.8
sum = sum + i
Next i
Debug.Print sum
End Sub
单击窗体后,则在立即窗口上输出结果是()。
A.15
B.- 0.7
C.24
D.0
参考答案: