单选题 VB
题号 #152070

单击命令按钮时,下列程序代码的运行结果为 
Private Sub Command1_Click()  
Print MyFunc(20, 18)  
End Sub 
Public Function MyFunc(m As Integer, n As Integer) As Integer 
Do While m <> n 
Do While m > n: m=m - n: Loop 
Do While m < n: n=n - m: Loop 
Loop  
MyFunc=m  
End Function(  )。

进入在线模考

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

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