#include<stdio.h>int main() { float a,b,c,temp; printf("please enter a,b,c:"); scanf("%f,%f,%f",&a,&b,&c); if(a>b) { temp=a;a=b;b=temp; } if(a>c) { temp=a;a=c;c=temp; } if(b>c) { temp=b;b=c;c=temp; } printf("%7.2f,%7.2f,%7.2f\n",a,b,c); return 0; }