网站首页
编程语言
数据库
系统相关
其他分享
编程问答
选完
2024-08-17
C语言程序设计-[22] 数组应用
1、简单插入排序算法根据以上分析,代码与结果如下:#include"stdio.h"intmain(){ intcount,j,x,a[101];scanf("%d",&x);if(x<=0) return;else a[1]=x;count=1;scanf("%d",&x);while(x>0){