在窗体上有个命令按钮,然后编写如下事件过程程序运行后,单击命令按钮,先后在两个输入框中分别输入”1”和”5”,则输出结果为A.1B.51C.6D.15

在窗体上有个命令按钮,然后编写如下事件过程

程序运行后,单击命令按钮,先后在两个输入框中分别输入”1”和”5”,则输出结果为

A.1

B.51

C.6

D.15


相关考题:

在窗体中添加一个命令按钮,然后编写如下程序:Private Sub Command1_Click()Dim a As Integer, b As Integera=InputBox(“Enter the Firstinteger”)b=InputBox(“Enter the Secondinteger”)Print b+aEnd Sub程序运行后,单击命令按钮,先后在两个输入框中分别输入123和123,则输出结果是( )。A.246B.123C.456D.123123

在窗体上有一个命令按钮,然后编写如下事件过程Private Sub Commandl_cickc()a=InputBox( "enter the first integer")b=InputBox( "enter the second integer")Print b + aEnd Sub程序运行后,单击命令按钮,先后在两个输入框中分别输入"2"和"6",则输出结果为( )。A.2B.62C.8D.26

在窗体上画一个命令按钮,然后编写如下事件过程:PrivateSubcommand1_click()DimaAsString,bAsStringa=InputBox(EntertheFirstinteger)b=InputBox(EntertheSecondinteger)Printb+aEndSub程序运行后,单击命令按钮,先后在两个输入对话框中分别输入456和111,则输出结果是( )A.456B.111C.567D.111456

在窗体上画一个命令按钮,然后编写如下事件过程:Private Sub Command1_ Click ( ) x = InputBox("Enter the First integer") y = InputBox("Enter the Second integer") Print y +xEnd Sub程序运行后,单击命令按钮,先后在两个输入对话框中分别输入456和123,则输出结果是 ______。A.579B.123C.456D.123456

在窗体上有个命令按钮,然后编写如下事件过程 m=InputBox("enter the first integer") n=InputBox("enter the second integer") Print n+m 程序运行后,单击命令按钮,先后在两个输入框中分别输入“1”和“5”,则输出结果为A.1B.51C.6D.15

在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Commandl_Click() a:InputBox("Enter the First Integer") b:InputBox("Enter the Second Inteeer") Print b+a End Sub 程序运行后,单击命令按钮,先后在两个输入对话框中分别输入456和123,则输出结果是 ( )A.579B.123C.456D.123456

在窗体上画一个命令按钮,然后编写如下时间过程( )。程序运行后,单击命令按钮,先后在两个输入对话框中分别输入456和123,则输出结果是A. 579B. 123C. 456D. 123456

在窗体上有一个命令按钮,然后编写如下事件过程 Private Sub Command1 _ cickc ( ) a=InputBox("enter the first integer") b=InputBox("enter the second integer") Print b + a End Sub 程序运行后,单击命令按钮,先后在两个输入框中分别输入“2”和“6”,则输出结果为A.2B.62C.8D.26

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