热门
最新
红包
立Flag
投票
同城
我的
发布
心动@1
4 年前
trueweixin_49972061
保持热爱共赴山海
下一条:
#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; }
立即登录