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

Which sentence does not contain any errors? A. How did the cat hurt its' leg? B. How did the cat hurt its leg? C. How did the cat hurt it's leg?
the flight of an aircraft from toronto to montrel can be modelled by he relation h=-2.5t2+200t where t is the time, in minutes, and h is the height in metre
Which is a theme of the Iliad? A. History is written by those who win great conflicts. B. True heroes have no weaknesses. C. Do the best you can with the time y
Rachel deposited $200 into an account that earns 6% interest compounded twice a year for 10 years
what celebrations do muslims do in the festival of Mawlid???
How are fossils of extinct organisms included in branching diagrams
2x+y=20 6x-5y=12 substitution
Can anyone tell me what a math puzzle is there are five question i have to do Which expression has a value of 36, using only four 4s and any of the following: +
how did Hollywood ten demonstrate the nations anti-communist hysteria
Is choosing 5 players to represent the team at a fundraiser a permutation or a combination? please explain