c语言求正整数x,y的最小公倍数#include #include #include void main(){ int x,y,t,i;printf("Please enter two numbers:");scanf("%d,%d",&x,&y);if(x > y){t = x; x = y; y = t;}//printf("min is :%d\n",___);}
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 03:28:00
c语言求正整数x,y的最小公倍数#include #include #include void main(){ int x,y,t,i;printf("Please enter two numbers:");scanf("%d,%d",&x,&y);if(x > y){t = x; x = y; y = t;}//printf("min is :%d\n",___);}
c语言求正整数x,y的最小公倍数
#include
#include
#include
void main()
{ int x,y,t,i;
printf("Please enter two numbers:");
scanf("%d,%d",&x,&y);
if(x > y)
{t = x; x = y; y = t;}
//
printf("min is :%d\n",___);
}
c语言求正整数x,y的最小公倍数#include #include #include void main(){ int x,y,t,i;printf("Please enter two numbers:");scanf("%d,%d",&x,&y);if(x > y){t = x; x = y; y = t;}//printf("min is :%d\n",___);}
#include
#include
#include
void main()
{ int x,y,t,i;
printf("Please enter two numbers:");
scanf("%d,%d",&x,&y);
if(x > y)
{t = x; x = y; y = t;}
//
printf("min is :%d\n",i);
}