任给两个整数m,n,求最大公约数。 辗转相除法,部分代码如下 t=m%n; while(t!=0){ m=n; n=t; t=m%n; } printf("%d最大公约数\n",n); 今天先到这里吧,拜拜