填空题 函数gongyu的作用是求整数num1和num2的最大公约数,并返回该值,请填空。 gongyu(int num1,int num2) { int temp,a,b; if(num1【1】num2) { temp=num1; num1=num2; num2=temp; } a=num1; b=num2; while(【2】) { temp=a/%b; a=b; b=temp; } return(a); }
  • 1、
【正确答案】 1、【1】> 【2】b!=0    
【答案解析】