摘要: public class Diamond { public static void main(String[] args) { int line = 5; for(int i=1;i<line;i++){ for(int j=line-i;j>0;j--){ System.out.print(" " 阅读全文
posted @ 2016-05-16 22:48 -王志文- 阅读(96) 评论(0) 推荐(0)
摘要: public class bubbling { public static void main(String[] args) { int[] nums = {23,34,2,3,44,53,29,22,45}; for(int i=0;i<nums.length-1;i++){ for(int j= 阅读全文
posted @ 2016-05-16 22:19 -王志文- 阅读(110) 评论(0) 推荐(0)