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

If y+5,y+1,and 1-y from an A.P;find y​
Given the function f(x) = 8x + 2 , evaluate f6
What is the name for the process of paying attention to important properties while ignoring nonessential details?
What is the recommended amount of water a teenager should consume in a day? 1
what is unit in physics ​
The purpose of a switch______link is to be able to carry the traffic for all local VLANs.
Why did cities develop along goergias fall line
Read the sentence. The novel Laughing Boy, which won the Pulitzer Prize in 1929, is a story about Navajos torn between two worlds. Which is the correct sentence
pls help pls help pls help pls help i will give points
(02.01) Solve for x: -3(x + 3) = -3(x + 1) - 5.(1 point) оа 6 Ob -6 Oc All real numbers Od No solution