int a,b; scanf("%d.%d"&a,&b); printf("%d\n",WaxCommonFactor(a,b));
其实就是输入输出语句和调用函数语句,计算的部分都写好了的输入两个数,再把这两个通过函数调用,最后输出函数返回的结果