单项选择题

下面是求最大公约数的函数的首部( )。Function fun(By Val x As Integer,ByVal y As Integer)As Integer若要输出8、12、16这3个数的最大公约数,下面正确的语句是

A.Print fun(8,12),fun(12,16),fun(16,8)
B.Print fun(8,12,16)
C.print fun(8,12),fun(12,16),fun(16)
D.Print fun(8,fun(12,16))
题目列表

你可能感兴趣的试题

微信扫码免费搜题