red9standingby14 red9standingby14
  • 01-03-2021
  • Computers and Technology
contestada

Consider the following code segment

Consider the following code segment class=

Respuesta :

zachw32
zachw32 zachw32
  • 01-03-2021

Answer:

D:

2

54

Explanation:

In line 3 Math.random() will return a number between 0 and 1, so the minimum is 3 (0*5+3=3), therefore it is impossible for line 4 to return the value 2

Answer Link

Otras preguntas

Name TWO duties of the crane operator.
name three way the hopi adapted to the dry climste of the southwest
can someone help me with number 11 its increasing and I don't get I get how to do decreasing just not increasing
3x+y=5 , 2x-2y=22 solve the system of equations by the addition method
what are some facts about angiosperms
Earth's population continues to grow daily. Which of the following statements best illustrates a possible consequence of such rapid growth?
A traveller found himself in a strange country where the temperature rose sharply during the day and then fell again at night and made his watch act erratically
To warm up before a run, David begins by completing quad and hurdler's stretches. Which of these accurately evaluates his choice of warm-up activities? a ) Thes
Angie read 3 books in 5 days, and each book contained 335 pages. If Angie read the same number of pages each day, how many pages did she read per day? 751,0052
Which biome is characterized by low annual rainfall, less than 26 centimeters (about 10-11 inches) per year?