Answer:
Explanation:
The following program is written in Java and creates the divBySum method using a enhanced for loop. In the picture attached below I have provided an example of the output given if called using the array provided in the question and a divisible parameter of 3.
public static int divBySum(int[] arr, int num) {
int sum = 0;
for (int x : arr) {
if ((x % num) == 0) {
sum += x;
}
}
return sum;
}
The use of the machine in the functions of the data process has necessitated an orderly flow of information. The sequence in which the operations were executed would have to be clearly defined, and when combined with the data to which it should be applied, that sequence will create the flow of information.
You can not put much emphasis on the documentation, the record of information. In the written instructions and without the graphic representation of the workflow serious, difficult to carry out a task of data procedure in an appropriate manner. There are several more efficient and organized methods, it is the Flow diagrams that the future programmer understands the necessity of the flowchart :) :) :) :v
A volcano because its always erupting