Question: What is the range of the random number generated from this equation: (int) ( 20 + Math.random () * 60)? * Between 20 and

What is the range of the random number generated from this equation: 

What is the range of the random number generated from this equation: (int) ( 20 + Math.random () * 60)? * Between 20 and 60 Between 20 and 69 Between 20 and 80 Between 20 and 79 None of the above java language

Step by Step Solution

3.34 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer is option d d Betw... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

6364fc80b1fdf_239856.pdf

180 KBs PDF File

Word file Icon

6364fc80b1fdf_239856.docx

120 KBs Word File

Students Have Also Explored These Related Programming Questions!