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

Equivalent decimal are decimal that have the same value. TrueOrFalse
900 is 1/10 of what?
Which statement is true? 500 is 10 times as much as 50 500 is one tenth as much as 50
A stone falls from ledge and takes 16 seconds to hit ground. The stone has an original velocity 0 m/s, How tall is the ledge?
what is the least 10 digit whole number
A carton can hold 1000 unit cubes that measure 1 inch by 1 inch by 1 inch. Describe the dimensions of the carton using unit cubes. Can you explain to me how to
What is the value of 3 in 63.856
Which statement is true? 500 is 10 times as much as 50 500 is one tenth as much as 50
What is the GCF of 32 and 48
describe the relationship between the value of a dollar and the value of a dime