单选题
VB
题号 #1811982
有如下函数:
Function fun(a As Integer,n As Integer) As Integer
Dim m As Integer
While a >=n
a=a-n
m= m+1
Wend
fun=m
End Function
该函数的返回值是
参考答案
D
答案解析
暂无解析
你可能感兴趣的试题
A.2 2
B.4 3
C.4 2
D.3 2
A.
语句max=1应改为max=a(1)
B.
语句For k=2 TO 10应改为For k=1 TO 10
C.
If语句中的条件a(k)>a(max)应改为a(k)>max
D.
语句MaxValue=max应改为MaxValue=a(max)
A.
9!
B.
10!
C.
1! +2! +…+9!
D.
1!+2!+…+10!