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;
}
Viruses and malware are common and can have drastically negative results on your computer and life.
You can often tell that your computer is infected because it acts weird or slow.
Active antivirus software is a good way to prevent these problems.
It is called D. destkop pulishing
With desktop publishing, people will had the options to choose a certain layout from the destkop publishing software that allow them to create high quality document in shorter period of time. This software allow individuals to publish on their own without the need of printing press.
The first thing Ryan should do is to: C. format the text file with comma-separated values and save as CSV file type.
<h3>What is a file?</h3>
A file simply refers to a computer resource that avails end users an ability to store, save, or record data as a single unit on a computer storage device.
Since the list of contacts is contained in a simple text file, formatting the text file with comma-separated values and saving it as a CSV file type should be the first thing Ryan should do in this scenario.
Read more on CSV file here: brainly.com/question/14338529
#SPJ1
Unjust behavior due to someone's race or gender is B
discrimination