[单选题]

设有以下函数过程:

F.unction fun(a As Integer,b As Integer)

D.im c As Integer

If a<b Then

e=a:a=b:b=c

E.nd If

c=0

D.o

c=C+a

roop Until c Mod b=0

fun=c

E.nd Function

若调用函数fun时的实际参数都是自然数,则函数返回的是

A.a、b的最大公约数

B.a、b的最小公倍数

C.a除以b的余数

D.a除以b的商的整数部分

参考答案与解析:

相关试题

设有以下函数过程:Function fun(a As Integer,b As