/*------------------------------------------------------- 功能:求两个非负整数的最大公约数和最小公倍数。 -------------------------------------------------------*/ main() { int m,n,r,p,gcd,lcm; scanf("%d%d",&m,&n); p=m*n; r=m%n; while(________________ ) { m=n;n=r; ________________; } gcd=________________; lcm=p/gcd; printf("gcd=%d,lcm=%d\n", ________________); }