//希望对亲有帮助
#include
int main()
{
float a,b,c;
float min,medium,max;
printf("输入a:");
scanf("%f",&a);
printf("输入b:");
scanf("%f",&b);
printf("输入c:");
scanf("%f",&c);
max = (((a>b)?a:b)>c)?((a>b)?a:b):c;
min = (((a medium = (a
printf("最大=%f 中间=%f 最小=%f\n",max,medium,min);
return 0;
}