#include<stdio.h> int main() { int replay(int x,int y); int i,j; char a[6]; j=3; scanf("%d",&a[6]); for(i=0;j>0;j--) { for(;i<3;i++) { replay(a[i],a[j]); } } printf("从大到小排序为%d",a[6]); return 0; } int replay(int x,int y) { if(x<y) { int z; z=x; x=y; y=z; } }
求大神看看哪不对