#include main(){ int i,j,N,t,k=0; int score[100]; printf("请输入整数的个数N:\n"); scanf("%d",&N); printf("请输入N个整数:\n"); for(i=0;ifor(j=0;j for(k=j+1;k<=N-1;k++) if(score[j] {t=score[j];score[j]=score[k];score[k]=t;} for(i=0;i printf("%d ",score[i]); printf("\n");}