摘要: int a = 5;int b = 4;int c = 3;int d = 0;if (a > b) {if (b > c) {d = a;}} else {if (b > c) {d = b;} else {d = c;}}System.out.println(d);}以下为坑爹的冒泡排序int a = 5; int b = 4; int c = 3; int d = 0;int[] x = { a, b, c};for (int i = 0; i < x.length; i++) {for (int n = 0; n < i; n++) {if (x[n] & 阅读全文
posted @ 2012-05-17 20:59 重剑无锋_FQT 阅读(5854) 评论(0) 推荐(0) 编辑