Respuesta :
Answer:
(int)(Math.random() * (upper − lower) ) + lower
Explanation:
Math.random gives us some random value. To get that value within bounds we multiply random value with the difference between upper and lower bound.
Now to make lower bound inclusive we add lower bound to result
Answer:
A is the correct answer. Pay close attention to what the question is asking, because there is more than one question that looks similar. If you got it wrong it is probably you didn't look at what the question is asking. But the actual answer is A. I took the test and this was my question too.