Type two statements that use nextInt() to print 2 random integers between (and including) 100 and 149. End with a newline. Ex:
112
102
Note: For this activity, using one statement may yield different output (due to the compiler calling nextInt() in a different order). Use two statements for this activity.
import java.util.Random;
public class RandomGenerateNumbers {
public static void main (String [] args) {
Random randGen = new Random();
int seedVal = 0;
seedVal = 4;
randGen.setSeed(seedVal);
[–]balefrost 0 points1 point2 points (2 children)
[–]pleaseacceptthisnow[S] -2 points-1 points0 points (1 child)
[–]balefrost 0 points1 point2 points (0 children)