单选题 VB
题号 #1811997

某人设计了下面的函数fun,功能是返回参数a中数值的位数:
Function fun(a AS Integer)AS Integer
Dim n%
N=1
While a\10>=0
N=n+l:a=a\l0
Wend
Fun=n
End Function
在调用该函数时发现返回的结果不正确,函数需要修改,下面的修改方案中正确的是。

进入在线模考

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考