随笔分类 -  数据结构用-java语言描述-排序

摘要:public class SelectSort { public static void main(String[] args) { // TODO Auto-generated method stub int n,min,i,j,temp; int a[]= {25,34,2,5,35,65,72,8,5,73}; fo... 阅读全文
posted @ 2013-08-14 15:27 elite_2012 阅读(155) 评论(0) 推荐(0)
摘要:public class MySort{ public static void main(String[] args){ int score[] = {67, 69, 75, 87, 89, 90, 99, 100}; System.out.print("排序前结果:"); for(int a = 0; a < score.length; a++){ System.out.print(score[a]+" " ); } for (int i = 0; i < score.length... 阅读全文
posted @ 2013-08-12 15:55 elite_2012 阅读(268) 评论(0) 推荐(0)