摘要: 冒泡排序 public class bubblesort{ public bubblesort(){ int a []={54,34,76,58,97,43,22,32,11,12,36,79,98,75,46,35,26} int temp=0; for(int i=0;i<a.length-1; 阅读全文
posted @ 2016-06-05 21:27 喵精四哈 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 菱形 public class Ling { public static void main(String[]args){ for(int i=1;i<3;i++){ for(int z=1 ;z<6-i;z++ ){ System.out.print(" "); } for(int j=0;j<2 阅读全文
posted @ 2016-06-05 21:25 喵精四哈 阅读(162) 评论(0) 推荐(0) 编辑