正在加载图片...
循环控制(程序二) ·求两个整数的最大公约数 #include <stdio.h> #include <stdlib.h> main( Int x, y, r, temp printi("请输入两个求最大公约数的整数:Ⅶn"); scanf("%/od, %od, &x, &y) if(x<y) temp循环控制(程序二) • 求两个整数的最大公约数 #include <stdio.h> #include <stdlib.h> main() { int x,y,r,temp; printf("请输入两个求最大公约数的整数:\n"); scanf("%d,%d",&x,&y); if(x<y) { temp=x; x=y;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有