C程序.修正下./
C程序.修正下./
日期:2022-04-09 03:58:36 人气:1
void main()
{
int a,b,c;
int temp;
scanf("%d%d%d",&a,&b,&c);
if(a<b) {temp=a;a=b;b=temp;}
if(b<c) {temp=b;b=c;c=temp;}
if(a<b) {temp=a;a=b;b=temp;}
{
int a,b,c;
int temp;
scanf("%d%d%d",&a,&b,&c);
if(a<b) {temp=a;a=b;b=temp;}
if(b<c) {temp=b;b=c;c=temp;}
if(a<b) {temp=a;a=b;b=temp;}