程序改错:采用选择法实现对n个整数按递减次序排序#includeint main(){int a[6]={88,91,97,93,96,86},*p[6];*p=a;int paixu(int *x,int n);int i;paixu(a,6);for(i=0;i
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 18:50:49
程序改错:采用选择法实现对n个整数按递减次序排序#includeintmain(){inta[6]={88,91,97,93,96,86},*p[6];*p=a;intpaixu(int*x,i
程序改错:采用选择法实现对n个整数按递减次序排序#includeint main(){int a[6]={88,91,97,93,96,86},*p[6];*p=a;int paixu(int *x,int n);int i;paixu(a,6);for(i=0;i
程序改错:采用选择法实现对n个整数按递减次序排序
#include
int main(){
int a[6]={88,91,97,93,96,86},*p[6];
*p=a;
int paixu(int *x,int n);
int i;
paixu(a,6);
for(i=0;i
程序改错:采用选择法实现对n个整数按递减次序排序#includeint main(){int a[6]={88,91,97,93,96,86},*p[6];*p=a;int paixu(int *x,int n);int i;paixu(a,6);for(i=0;i
#include
int main(){
\x09int a[6]={88,91,97,93,96,86};
\x09int paixu(int *x,int n);
\x09int i;
\x09paixu(a,6);
\x09for(i=0;i