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

can some help me better to remember the map of Europe ?
What is the lcm of two numbers that have no common factors greater than 1?
The GCF (Greatest Common Factor) of 45 and 75. Show your work too. Thanks for your help!
give me a sentence that has the words prosper and profit
What is the relationship between rational numbers and ratios
Your dad tells you that he will pay you $6.00 an hour for the 6 seconds that you take to wash your hands before dinner. How much did you make for washing your h
8 times 51 show your work
What is the lcm of two numbers that have no common factors greater than 1?
dose anyone know how to solve any of these? 1. W is the midpoint of UV. if UW= x+23, and WV= 2x+8, what is x? 2. W is the midpoint of UV. if UW= x+23, and WV= 2
Can organisms create their own energy? Explain your answer