1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
madam [21]
3 years ago
9

Type two statements that use nextint() to print 2 random integers between (and including) 100 and 149. end with a newline. ex: 1

12 102

Mathematics
2 answers:
Stels [109]3 years ago
5 0

Answer:

     randGen.setSeed(seedVal);

     System.out.println(randGen.nextInt(50) + 100);

     System.out.println(randGen.nextInt(50) + 100);

Step-by-step explanation:

solong [7]3 years ago
4 0

NB- Solution is emboldened

 

import java.util.Scanner;

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);

System.out.println(randGen.nextInt(50) + 100);

System.out.println(randGen.nextInt(50) + 100);

return;

}

}

You might be interested in
Please help me please
dsp73

Answer:

B

Step-by-step explanation:

4 0
3 years ago
Read 2 more answers
Name some study tips
____ [38]
Studying can be a bore so....
-Color code all of your notes
-Read over your notes once every night. It takes five minutes and then you're done
-(if you love studying) make flash cards or use www.quizlet.com 
-watch youtube videos if you want 
3 0
3 years ago
Read 2 more answers
How many solutions does the quadratic system shown below have ?
Anna11 [10]
It is 4! hope this helps>3
4 0
3 years ago
2(x+3)^(2)+8=0 Solve.
olga2289 [7]

Answer:

2i-3

Step-by-step explanation:

2(x+3)²=-8

(x+3)²=-4

x+3=2i

x=2i-3

7 0
3 years ago
*****PLZ HELP ME***** 15 points<br><br>QUESTION IN ATTACHED IMAGE
Kryger [21]
18 combinations
3×3×2=18
5 0
4 years ago
Other questions:
  • (a) what is the difference between a sequence and a series? a sequence is an ordered list of numbers whereas a series is an unor
    14·1 answer
  • Solve <br> 2z = modulus of z + 2i
    8·1 answer
  • Explain how to solve 5x2-3x=25 by completing the square what are the solutions ???​
    5·1 answer
  • HighTech Inc. randomly tests its employees about company policies. Last year in the 560 random tests conducted, 26 employees fai
    9·1 answer
  • If a rectangle is rotated about the y-axis as shown below, what three-dimensional
    6·1 answer
  • Surface area of 9cm, 10cm, and 15cm
    11·1 answer
  • Can someone pls pls help me?
    6·2 answers
  • The domain and range of F(x)=1/x-2​
    14·2 answers
  • Fill in the missing information for the following trapezoids. SHOW YOUR WORK to solve for the missing value.
    15·1 answer
  • 1+1+1*0+1=x<br><br> what would it be
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!