//026040042043043046041045042040044
#include <stdio.h>
main()
{
int a,b,t;
printf("\n please input two number:");
scanf("%d%d",&a,&b);
if(a>b){
?
a=b;
?
}
printf("%d,%d",a,b);
}
下列程序实现求n的阶乘,请将程序补充完整,注意,每个插入点只能使用一条语句,只能在插入点内加入代码,
答案:1 悬赏:50
解决时间 2021-12-12 18:13
- 提问者网友:浪子生来ˇ性放荡²↘
- 2021-12-12 07:02
最佳答案
- 二级知识专家网友:一只傻青衣
- 2021-12-12 07:47
应该是两个数从小到大排序
#include <stdio.h>
main()
{
int a,b,t;
printf("\n please input two number:");
scanf("%d%d",&a,&b);
if(a>b){
t=a;
a=b;
b=t;
}
printf("%d,%d",a,b);
}
#include <stdio.h>
main()
{
int a,b,t;
printf("\n please input two number:");
scanf("%d%d",&a,&b);
if(a>b){
t=a;
a=b;
b=t;
}
printf("%d,%d",a,b);
}
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯