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 group believed a strong national government was critical to the country? Federalists Anti-Federalists
Which best describes religion in Africa? A. Most people follow religions brought from the americas. B. Most people follow religions brought to the continent by
The perimeter of a rectangular swimming pool is 154m.its length is 2m more than twice breadth . what are the length and breadth of the pool?
what is the quotient of 5/8 ?
Which statement about the women's suffrage movement of the late 1800s and early 1900s is correct? A. It was led by industrialists who supported women's demands
why do the Himalayan mountains grow
last year , Katrynas weekly salary was $785.62. This year she got a 3% raise. what is her new weekly salary?
In which of the following ways does a fertilized egg differ from an unfertilized egg?
Which of the following best describes Caspar David Friedrich? A. an English artist who painted the countryside around the River Stour B. a French artist who pai
A sports utility vehicle can go 350 miles on 25 gallons of gasoline. How far can it go on 33 gallons of gasoline