摘要:
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] & 阅读全文