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
Get step-by-step solutions from verified subject matter experts
