I want a method that has parameter int[] num...
The int[] num will be consisting of numbers...
for example: int[] num = {1, 2, 3, 5, 1, 1, 1, 1};
the element 0 is a number inside box 1...
the element 1 is a number inside box 2...
the element 2 is a number inside box 1...
the element 3 is a number inside box 1...
the element 4 is a number inside box 1...
the element 5 is a number inside box 1...
The program should return 1 because all the elements are inside the box 1;
Would you like to create that for me?
The int[] num will be consisting of numbers...
for example: int[] num = {1, 2, 3, 5, 1, 1, 1, 1};
the element 0 is a number inside box 1...
the element 1 is a number inside box 2...
the element 2 is a number inside box 1...
the element 3 is a number inside box 1...
the element 4 is a number inside box 1...
the element 5 is a number inside box 1...
The program should return 1 because all the elements are inside the box 1;
Would you like to create that for me?
Comment