Answer:
This code will print: 4
Explanation:
Following is the step-by-step explanation for the given code:
- Given is the array of data type double named myList, it has entries, 1, 5, 5, 5,5, 1:
double[] myList = {1, 5, 5, 5, 5, 1};
- Now the first element of the array (1) with index 0 will be stored in the variable max (data type double).
double max = myList[0];
- A variable indexOfMax having datatype int will be initiated as 0.
int indexOfMax = 0;
- Now for loop will be used to find the maximum number of the array. The variable i will be put as index for each element to compare with first element. If the checked element is greater than or equal to the integer in max, it will be replaced. So at the end the variable max will have value 5 that will be at index i = 4.
for (int i = 1; i < myList.length; i++)
{ if (myList[i] >= max)
{ max = myList[i];
- Now the variable i that is the index for max value will be stored in the variable indexOfMax (indexOfMax = 4).
indexOfMax = i; }}
- At end the value stored in variable indexOfMax will be printed, so 4 will be printed as output.
System.out.println(indexOfMax);
i hope it will help you!
Answer:
C) Computer-aided Design
Explanation:
Options:
a. Computer-aided engineering
b. Computer-aided evaluation
c. Computer-aided design
d. Computer-aided manufacturing
C) Computer-aided design is correct answer
(Hope this helps can I pls have brainlist (crown)☺️)
Preparation of the veggies list is one job linked to Julian's career that she should complete on her own. As a result, option A
<h3>What exactly is a career?</h3>
A career is a collection of events that you have had throughout the course of your life. Your career is being built as you get more experience in the realms of work and life.
Your education, training, and paid or unpaid employment all factor towards your professional path.
As a result, Julian will continue to prepare the list of veggies to be purchased.
Learn more about your Career :
brainly.com/question/13759188
#SPJ1
B that the anser yep i whent and reserch the the anser so itsb
<span>
C. The net charge does not change. The charge remains neutral and thus,
polarization takes effect. Polarization simply means electrons and protons are separated into opposites. To best explain this, we can use a rubber balloon that has been rubbed against animal fur. Assume is has been negatively charged, bring it close to the object and make sure that these two do not touch. Electrons within the object will experience a repulsive force.
</span>
Since repulsion will be greatest for those
electrons nearest the balloon, many of them will be induced into moving away
from the rubber balloon. By default, electrons are free to move from atom to
atom and thus there will be a mass migration of balloons side of the object to
the opposite side of the object. <span>This will leave more atoms on the rubber
balloon’s side of the object with a shortage of electrons and will be
positively charged and vice versa. </span>Overall, the object will become
electrically neutral.