单击一次命令按钮之后,在对话框中输入12,2,34,.23,窗体中的输出结果为______。 Private Sub Command1_ Click() a = 10: b = 20: c = 30 Call check(a, b * 2, (c)) Print "Name:"; a; b; c End Sub Private Sub check(a, ByVal b,C)Dim t As Integer a = a + 1: b= b + 1: c = c + 1 t = a a =b b = t End SubA.20 30 40B.40 30 20C.41 30 10D.41 20 30

单击一次命令按钮之后,在对话框中输入12,2,34,.23,窗体中的输出结果为______。 Private Sub Command1_ Click() a = 10: b = 20: c = 30 Call check(a, b * 2, (c)) Print "Name:"; a; b; c End Sub Private Sub check(a, ByVal b,C)Dim t As Integer a = a + 1: b= b + 1: c = c + 1 t = a a =b b = t End Sub

A.20 30 40

B.40 30 20

C.41 30 10

D.41 20 30


相关考题:

在窗体上画一个命令按钮,然后编写如下程序:Dim k As Longk=1Do While numLoopfun=kEnd FunctionPrivate Sub Command1_Click()Dim n As LongDim r As LongMsgBox rEnd Sub程序运行后,单击命令按钮,在输入对话框中输入234,消息框显示的结果为( )。

在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Commandl—Click() x=InputBox(“请输入一个整数”) Print x+345 End Sub 程序运行后,单击命令按钮,在输入对话框中输入123,则在窗体上输出的内容为( )A.123345B.468C.123D.345

在窗体上画一个命令按钮,名称为Commandl,然后编写如下程序:Privme Sub Commandl_Click()Dim intNum As IntegerintNum=InputBox(“请输入:”)MsgBox f(intNum)End SubFunction f(X As Integer) As Integerf=IIf (X10,X,X+5)End Function运行程序,单击命令按钮,在输入对话框中输入5,则程序的输出结果为______。

在窗体上添加一个命令按钮,名为Command1,事件过程如下:程序运行后,单击命令按钮,依次在输入对话框中输入5、4、3、2、1、-1后,输出的结果是______。A.5B.4C.3D.2

在窗体中添加一个命令按钮,然后编写如下代码:Private Sub Command1_Click()a=InputBox("请输入一个整数")b=InputBox("请输入一个整数")Print Val(a)+Val(b)End Sub程序运行后,单击命令按钮,在输入对话框中分别输入21和45,输出结果为【 】。

单击一次命令按钮之后,在对话框中输入12,21,30,3,窗体中的输出结果为______。 Private Sub Command1_ Click() For i = 1 To 4 s = InputBox (“请输入”) Call per(i, s) Next i Print s End Sub Sub per(a, ByValB)b = 1 For i = 1 To 3 a = a * i Next i End SubA.12 21 30 3B.24 42 60 6C.3 30 21 12D.只能输入一个数

单击一次命令按钮之后,在对话框中输入12,2,34,23,窗体中的输出结果为______。 Private Sub Command1_ Click () Dim a(4) As Integer For i = 1 To 4 a (i) = Val (InputBox (“请输入元素”)) Next i plus a(1), a(2), a(3) End Sub Sub plus(first As Integer, second As Integer, third As Integer, Optional forth) n = first + second + third If Not IsMissing (forth) Then n = n + forth End If Print n End SubA.14B.71C.48D.37

单击一次命令按钮之后,在对话框中输入10,20,30,40,窗体中的输出结果为______。 Private Sub Command1_ Click() Dim a(4) As Integer For i = 1 To 4 a(i) = InputBox (“请输入:”) Next i Call subper (A.For i = 1 To 4 Print a(i) Next i End Sub Sub subper (b () As Integer) For i = 1 To 4 b(i) = 2 * i Next i End SubA.10 20 30 40B.1 2 3 4C.2 4 6 8D.5 10 15 20

在窗体上有一个命令按钮,然后编如下事件过程:程序运行后,单击命令按钮,在输入对话框内输入-1,输出结果是 。