[單項選擇題] 有如下函數(shù):Private Function firstfunc(x As Integer, y As Integer) As IntegerD
2021-07-20
[單項選擇題] 有如下函數(shù):Private Function firstfunc(x As Integer, y As Integer) As IntegerDim n As Integer Do While n <= 4x=x +yn=-+1 Loopfirstfunc = x End Function調(diào)用該函數(shù)的事件過程如下:Private Sub Command1_lick() Dim x As Integer Dim y As Integer Dim n As Integer Dim z As Integer x=1 y=1 For n = 1 To 3 z = firstfunc(x, y) Next n Print z End Sub該事件過程的執(zhí)行結(jié)果是 ______。
A.1
B.3
C.16
D.9
正確答案:C
詞條內(nèi)容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學(xué)等領(lǐng)域),建議您咨詢相關(guān)領(lǐng)域?qū)I(yè)人士。