A-A+
在窗体上画一个名称为Command1的命令按钮 然后编写如下程序: Opinion Base
问题详情
在窗体上画一个名称为Command1的命令按钮,然后编写如下程序: Opinion Base 1 Private Sub Command1_ Click() d = 0 c = 10 x = Array(10, 12, 21, 32, 24) For i = 1 To 5 If x(i) > c Then d = d + x(i) Else d = d - c End if Next i Print d End Sub程序运行后,如果单击命令按钮,则在窗体上输出的内容为______。
A.89
B.99
C.23
D.77请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:C