1 public void Test8(){ 2 long sum = 0; 3 long fac = 1; 4 for (int i = 1; i <= 20; i++) { 5 fac = fac * i; 6 sum += fac; 7 } 8 System.out.println(sum); 9 }