【单选题】在窗体上画一个命令按钮,其名称为Command1。程序运行后,单击命令按钮,输出结果是( )。 Private S.b p1(n As Integer) For i=n To 1 Step=1 x=String(i,'*') Print x Next i End Sub Private Sub Command1 Click( ) pl(3) EndSub
【单选题】在窗体上画一个命令按钮,其名称为Command1,然后编写如下事件过程: Private Sub Command1_Click() Dim a1(4, 4), a2(4, 4) For i = 1 To 4 For j = 1 To 4 a1(i, j) = i + j a2(i, j) = a1(i, j) + i + j Next j Next i Print a1(3, 3) a2(3, 3...
【单选题】在窗体上画一个命令按钮,其名称为Command1,然后编写如下事件过程: Private Sub Command1_Click() Dim i As Integer, x As Integer For i = 1 To 6 If i = 1 Then x = i If i <= 4 Then x=x + 1 Else x=x + 2 End If Next i Print x End Su...