一个窗体单击事件过程如下: Private Sub Form_Click() Dim a As Integer, b As Integer, c As Integer a = 6 : b = 15 c = a * b If a > b Then a = a - b Else b = b - a End If Print a, b, c / bEnd Sub试问:当单击窗体后,输出为___________。
已知程序如下:Private Sub p() Static s As Integer Dim i As Integer For i = 1 To 10 Step 2 s = s + i Next i Print s;End SubPrivate Sub Command1_Click() Call pEnd Sub试问:当三次单击命令按钮后,输出为[______]。
设有如下程序a =( ):For i = 1 To 3:Select Case i:Case 1,3:a = a + 1:Case 2,4:a = a + 2:End Select:Next i程序运行后,a的值为6,则a的初始值为( )。