【简答题】执行下面的程序,单击窗体,则在窗体上第一行输出的结果 ,第二行输出的结果 。 Private Sub Form_Click() Dim i As Integer, s As Integer For i = 1 To 5 s = s + i Next i If i > 5 Then s = s + i Else s = s - i End If Print i Print s End Sub
【简答题】执行下面程序,单击命令按钮 Command1 ,则在窗体上显示的第一行是 ,第二行是 ,第三行是___. Private Sub Command1_Click( ) Dim s_data As Integer, d_data As String, k As Integer, p As String s_data = 29 Do Until s_data <= 5 p=s_data Mod 5 ...