摘要:
1 public static void main(String[] args) { 2 double n = 1, sum = 0; 3 while (n <= 20) { 4 sum += 1 / Factorial(n); 5 ... 阅读全文
摘要:
1 public class Test02 { 2 public static void main(String[] args) { 3 for (int i = 1; i <= 9; i++) { 4 for (int j = 1; j <= i;... 阅读全文
摘要:
1 public static void main(String[] args) { 2 int triangle[][] = new int[10][];// 创建二维数组 3 // 遍历二维数组的第一层 4 for (int i = 0; i <... 阅读全文