作业帮 > 综合 > 作业

填空题,括号内#include #include #include void main(){ int x,y,t,max

来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/05/26 02:33:46
填空题,括号内
#include
#include
#include
void main()
{ int x,y,t,max,min,i,n1,n2;
printf("Please enter two numbers:");
scanf("%d,%d",&x,&y);
if(x > y)
{t = x; x = y; y = t;}
n1=x; n2=y;
t = n2 % n1;
//
max = ();
min = x * y / max ;
printf("max is :%d\n",max);
printf("min is :%d\n",min);
}
填空题,括号内#include #include #include void main(){ int x,y,t,max
#include
#include
#include
int main()
{
\x05int x,y,t,max,min,i,n1,n2;
\x05printf("Please enter two numbers:");
\x05scanf("%d,%d",&x,&y);
\x05if(x > y)
\x05{t = x; x = y; y = t;}
\x05n1=x; n2=y;
\x05t = n2 % n1;
\x05//
\x05max = (n1);
\x05min = x * y / max ;
\x05printf("max is :%d\n",max);
\x05printf("min is :%d\n",min);
}