【函数】 以下程序的功能是求任意两个整数n1和n2的最大公约数,请将程序补充完整。 #include
int codivisor(int n1, int n2) { int t; while( n2!=0 ) {____; n1=n2; n2=t;} return (____); } void main() { int a,b,x; printf("please input two numbers:"); scanf("%d%d",&a,&b); x=codivisor(a,b); printf("maximum common divisor of %d and %d is : %d\n", a,b,x); }