0
0
已采纳
此题思路:
1.if判断比较大小可以去掉
2.while循环应按如下格式写:(m是你这题的a,n是你这题的b,r是你这题的t)
while(r!=0)
{
r=m%n;
m=n;
n=r;
}
3.r赋初值为1
4.最后输出m(也就是a)
0
0
0