main()
{
int m=37,n=13;
while(m!=n)
{
while(m>n)
m=m-n;
while(n>m)
n-=m;
}
printf("m=%d\n",m);
}
出自:中北大学-C语言程序设计