A STUDENT INCORRECTLY ATTEMPTED TO PRODUCE A RANDOM VALUE IN THE RANGE 1.6 USING THE EXPRESSION : 6*(int)Math.random( ) +1. correct the error in the expression to get the desired result
Answers
Answered by
28
Answer:
(int) Math.random( ) * range + 1
Similar questions