某人设计了下面的函数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.
把错句n=1改为n=0
B.
把循环条件a\l0>=0改为a\l0>0
C.
把语句a=a\l0改为a=a Mod 10
D.
把语句fun=n改为fun=a
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】In the author's opinion, ______
A.
American young couples have no chance to show their individualism in their marriage
B.
American young couples doll' t like to following long-held traditions
C.
American young couples are inclined to follow the marriage traditions