找考题网-背景图
未分类题

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

A.246
B.123
C.456
D.123123


【参考答案】

A
热门试题

未分类题>共分()。