下列给定函数fun的功能是:求两个非零正整数的最大公约数,并作为函数值返回。 例如,若num1和num2分别为49和21,则输出的最大公约数为7;若num1和num2分别为27和81,则输出的最大公约数为27。 ”/********found*****/”之后所指的语句有错,请选择下列正确的语句替换。 #include int fun(int a,int b) { int r,t; if(a A. return a; B. return b; C. return r; D. return t;
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】It was a pity that when we got to the cinema, the movie___ , so we saw only the end of it.