请各位帮帮!~!~!
two、里面的 A,B,C,T互换的逻辑是怎么想的,搞不清楚。#include<stdio.h>
void main()
{
float a,b,c,t;
scanf("%f,%f,%f",&a,&b,&c);
if(a>b)
{
t=a;
a=b;
b=t;
} /* shi xian a he b de hu huan*/
if(a>c)
{
t=a;
a=c;
c=t;
} /* shi xian a he c de hu huan*/
if(b>c)
{
t=b;
b=c;
c=t;
} /*shi xian b he c de hu huan*/
printf("%5.2f\n",c);
}