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

How many dogs it takes to fill a room up?
Describe the components of the peripheral nervous system and central nervous system and explain how they work together in your body.
the quotient of 3 times a number "x" and 2 less 3 times the square of "x"​
How have scientists determined the age of the earth?
I need help with these 2 questions on geometry PLEASE!!
Gabby is creating a reference list for her investigative report. Complete the sentences to help her use the APA style for citing sources. When noting the auth
Allie and Evelyn share a pizza and split the cost. They each pay $7.74. Which of the following equations can be used to find the cost of the pizza? 2p = 7.74 7.
Can I have my French checked? Did I write all my French in the present tense?so I am meaning to say " I have a backpack, my bike, a tent, my sleeping bag..."I h
Children who are not nominated by their peers either as being liked or as being disliked are categorized as
Possessive pronouns indicates who the owner will be. True or false No guessing need true answer.