Computers and Technology

Assume that a is an array of two or more integers, and that b and c are integers.

what is the result of the following code? (2 points)
c = 0;
b = 1;
if (a. length > 0) {
c = a[0];
}
while (b < a. length){
if (a[b] < c) {
c = a[b];
}
b++;
}

b contains the highest value in the array

b contains the lowest value in the array

c contains the highest value in the array

c contains the lowest value in the array

an endless loop occurs

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:30, hope564
Dave has to create animations for a game. which tool can dave use?
Answers: 3
image
Computers and Technology, 23.06.2019 08:00, hernandez09297
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
image
Computers and Technology, 23.06.2019 17:00, taytay1828
What are the 12 colors of the spectrum called?
Answers: 1
image
Computers and Technology, 24.06.2019 00:00, BluedragonKBT44
The gene form of a trait is called a(n) 
Answers: 2
Do you know the correct answer?
Assume that a is an array of two or more integers, and that b and c are integers.

what i...

Questions in other subjects:

Konu
History, 21.09.2019 17:30
Konu
English, 21.09.2019 17:30