从键盘输入10个整数,由大到小排序后输出。

从键盘输入10个整数,由大到小排序后输出。
【正确答案】:#include#define N 10void main(){int a[N],k,j,m;for(k=0;kfor(k=0;kfor(j=k+1;jif(a[k]for(k=0;k}