Nested Loops in Java

Student Labs 1

  • Factorial Project(Use Eclipse)
    Given an array of ints
  • calculate the sum of the factorials of all elements in the array
  • you may use any array that you want to demonstrate this project but do not hard code anything
  • Input Array   Output
    int[] j = new int[3];
    j[0]= 2;
    j[1]= 3;
    j[2] = 4;
    2! + 3! + 4! 32