[填空题] 单击命令按钮后,下列程序代码的执行结果是______ 。 Public Sub fun (a As Integer, b As Integer, c As Integer) Do

18 查阅

[填空题] 单击命令按钮后,下列程序代码的执行结果是______ 。 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

计算机考试