#include <stdio.h>

main()
{
int i,j,temp;
int a[10]; for(i=0;i<10;i++)
scanf ("%d,",&a[i]); for(j=0;j<=9;j++)
{ for (i=0;i<10-j;i++)
if (a[i]>a[i+1])
{ temp=a[i];
a[i]=a[i+1];
a[i+1]=temp;}
}
for(i=1;i<11;i++)
printf("%5d,",a[i] );
printf("\n"); }

最新文章

  1. USB驱动开发大全【转】
  2. text-justify实操
  3. Light OJ 1027 - A Dangerous Maze (数学-期望)
  4. hduacm 5104
  5. 解决WIN8 磁盘100 活动占用100% win8硬盘一直响
  6. 安装Android Studio报failed to find java version for &#39;C:\windows\system32\java.exe&#39;:[2] The system cannot find the specified file.错误的解决方案
  7. poj3177--Redundant Paths(边的双连通)
  8. TCP/IP协议原理与应用笔记02:断点续传
  9. jquery幻灯片--渐变
  10. SQL Server 移动系统数据库位置(非master)
  11. 解决新版Emacs的警告:Warning (initialization): Your load-path...
  12. Windows API 之 InternetOpen、InternetOpenUrl、InternetReadFile
  13. java学习笔记 --- 面向对象3
  14. python 版本管理工具 pyenv 使用备忘
  15. select动态绑定vue.js
  16. app内嵌vue h5,安卓和ios拦截H5点击事件
  17. caffemodel模型
  18. (三)MongoDB数据库注意
  19. Android 自定义 View 浅析
  20. tomcat设置虚拟路径映射服务器指定的物理路径

热门文章

  1. AISing Programming Contest 2019 Solution
  2. Spring-Boot 中 Redis 的简单使用以及简单模糊匹配删除
  3. Mysql优化原则_小表驱动大表IN和EXISTS的合理利用
  4. 20145104张家明 《Java程序设计》第5周学习总结
  5. 采用注解方式实现security
  6. UVa 11732 strcmp()函数(左孩子右兄弟表示法)
  7. 创建 shiny 应用程序
  8. RabbitMQ入门_03_推拉模式
  9. .net core部署到linux
  10. git-it 教程,一些git知识点。/ 如何解决merge conflict/ 如何使用Github Pages./Git术语表