填空题 执行下面的程序,单击Command1按钮,窗体最后一行内容是 1,共显示了 2行。
Option Explicit
Private Sub Command1_Click()
Dim i As Integer
For i=1 To 10 Step 2
Call Sub1(i)
Next i
End Sub
Private Sub Sub1(a As Integer)
Static b As Integer
b=b+1
If(a+b) Mod 3=0 Then
Print a; b
Else
Call Sub1(a+1)
End If
End Sub
【正确答案】
【答案解析】11 13 5