[單項(xiàng)選擇題] 單擊一次命令按鈕之后,在對(duì)話框中輸入12,2,34,23,窗體中的輸出結(jié)果為_(kāi)_____ 。 Private Sub Command1_ Cl
2021-07-20
[單項(xiàng)選擇題] 單擊一次命令按鈕之后,在對(duì)話框中輸入12,2,34,23,窗體中的輸出結(jié)果為_(kāi)_____ 。 Private Sub Command1_ Click ()Dim a(4) As IntegerFor i = 1 To 4 a (i) = Val (InputBox (“請(qǐng)輸入元素”))Next iplus a(1), a(2), a(3) End Sub Sub plus(first As Integer, second As Integer, third As Integer, Optional forth)n = first + second + thirdIf Not IsMissing (forth) Then n = n + forthEnd If Print n End Sub
A.14
B.71
C.48
D.37
正確答案:C
詞條內(nèi)容僅供參考,如果您需要解決具體問(wèn)題
(尤其在法律、醫(yī)學(xué)等領(lǐng)域),建議您咨詢相關(guān)領(lǐng)域?qū)I(yè)人士。