问题
单项选择题
单击命令按钮,并在对话框内依次输入5,7,6下列程序段的执行结果为______。 Private Sub Command1_Click()Dim n AS Integer, a As Integer, b As Integer, c As Integern = 0For i = 1 To 3 a = InputBox ("请输入数字") n = n+a*aIf n > 50 Then GoTo exEnd IfNext iex: Print n End Sub
A.25
B.74
C.85
D.110
答案
参考答案:B