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

you put $750 into a saving account that earns 2% simple annual interest how long will it take to have $45 in interest?
Zoe is listening to several of her friends—Emily, Fiona, Mei, and Penelope—sing in harmony. Even though they are blending their voices well, Zoe can easily reco
An argument in favor of food biotechnology is that it A provides more food to feed a growing population. B biotech foods are not controversial C provides foods
WILL GIVE BRAINLIEST Cruz's age is 3 years less than 9 times Cody's age. If Cody's age is x years, which expression best shows Cruz's age? 6x 9x – 3 x – 6 3
Primary malignant tumors arising from the bone marrow of long bones in children and young adults usually causing localized pain are indicative of:
A rental car agency charges $160.00 per week plus $0.25 per mile to rent a car. How many miles can you travel in one week for $360.00? The number of miles you c
explain why the scientist should carry out further tests on this colouring found in the drink?
mahatma Gandhi was against the de-Indianising of education and the imitation of the west. Explain
Divide 0.4 / 41 Enter your answer as a decimal in the box.
What is the correct answer NEED IT ASAP PLEASE​