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
{ .. , -3 , -2 , -1 , 0 , 1 , 2 } finite or infinite​
Otrada [13]
The left side should be infinite, based on the ..., which represents that the list goes on. The right side, however, should be finite, because that’s where the pattern stops.
3 0
3 years ago
Read 2 more answers
Just do these two problems for me and I’ll be so happy
sveticcg [70]
5. y = x + 7
6. y = -x + 1
4 0
3 years ago
10 Points<br> Can someone explain to me how to solve this
tatyana61 [14]

Answer:

d he didn't make a mistake

Step-by-step explanation:

so when is says comparing to one it means is the fraction greater than less than or equal to one and because 3/4 is less than one and 9/8 is greater than then 3/4 is less than 9/8 remember it always opens up to the larger number

8 0
3 years ago
Identify the segment bisector of RS. Then find RS. I need help
uysha [10]

Answer:

M

Step-by-step explanation:

The angle bisector is M

3 0
3 years ago
Help math..................​
mojhsa [17]

Answer:

6)C,120

7)B,60°

DOES THE ANSWER HELP YOU?

5 0
3 years ago
Other questions:
  • Can someone help me with this question please?
    13·1 answer
  • I am 13 more than 52. What number am I
    8·2 answers
  • (4x+2y-6z) + (5y-2z+7x) + (-9z-2x-3y)
    8·1 answer
  • Evaluate ln 7<br><br> A.) 0.51<br><br> B.) 1.95<br><br> C.) 0.85<br><br> D.) 1.61
    7·1 answer
  • How can you find the number of sevenths in 5 3/7
    12·2 answers
  • The perimeter of kite LMNO is 80 feet. Side MN = 3x + 5 and side NO = x – 7 . What is the length of NO?
    15·1 answer
  • Answers for the 2 boxes please ​
    6·1 answer
  • arshad's father bought x sweets .(x-4)were eaten by children and 20 were left.how many sweets did his father bring
    8·2 answers
  • PLEASE HELPPPP!!
    7·1 answer
  • There are 32 students in a class and 20 of them own at least one pet
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!