Question: Java programming: Which one would generate a random integer between 100 and 200, inclusive? Question options: A.101 + (int)(Math.random() * 100); B.99 + (int)(Math.random() *

Java programming:

Which one would generate a random integer between 100 and 200, inclusive?

Question options:

A.101 + (int)(Math.random() * 100);

B.99 + (int)(Math.random() * 101);

C.100 + (int)(Math.random() * 101);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!