单击命令按钮后,下列程序代码的执行结果是______。 Public Sub fun (a As Integer, b As Integer, c As Integer) Do a=b+ c n=n+1 Loop While n > 3 End Sub

admin2009-07-23  35

问题 单击命令按钮后,下列程序代码的执行结果是______。
Public Sub fun (a As Integer, b As Integer,  c As Integer)
Do
a=b+ c
n=n+1
Loop While n > 3
End Sub
Private Sub command1_ click()
Dim m As Integer,  n As Integer,  i As Integer
For i = 0 To 2: m = n + 1: Next i
For i = 1 To 2: Call fun (m, n, i): Next i
For i = 0 To 3
Print m;
Next i
End Sub

选项

答案2 2 2 2

解析
转载请注明原文地址:https://kaotiyun.com/show/5f1p777K
0

随机试题
最新回复(0)