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
Find x, if the perimeter is 106 <br> 3x+6<br> 2x-3
slega [8]
So we are given that the perimeter is 106 and two problems to solve
we will write this as an equation
106 = 3x + 6
we will subtract 6 from both sides
100 = 3x 
now divide by 3 to isolate the variable
we will get 33 1/3 as the x

for the second one
106 = 2x - 3
add three to both sides
109 = 2x 
divide by 2 to isolate the variable
we will get 54 1/2 as the x

Hope this helps :)
3 0
4 years ago
Find the area of this figure.
AlladinOne [14]

Answer:

216 cm^2

Step-by-step explanation:

Alright, first lets knock out the rectangle. This would be found by doing L * H. For the length it would be 14. For the height, it would be 12.

14 * 12 = 168

Next with the triangle, it has a length, or "base" of 8 and the same height of 12. For a triangle, do (B * H) / 2 as the formula.

(8 * 12) / 2

96 / 2

48

Now, combine these two values to get the total:

168 + 48 = 216 cm^2

All done!

7 0
3 years ago
Read 2 more answers
35g = 5<br> 15s = 120<br> 2 questions
Lubov Fominskaja [6]

Step-by-step explanation:

35g=5 g=1/7

15s=120 s=8

6 0
4 years ago
HELP HELP HELP!!!!! Please help!
viva [34]

Answer:

Regular peanut butter - .23

Family Size Peanut Butter - .15

5 0
3 years ago
Read 2 more answers
A triangle has two sides of length 7.2 and 11.6. What compound inequality describes the possible lengths for the third side, x?
poizon [28]

Answer:

4.4 < x < 18.8

Step-by-step explanation:

11.6 - 7.2 = 4.4

11.6 + 7.2 =18.8

5 0
3 years ago
Other questions:
  • Jen ran for 10 minutes with the speed of 6 mph and then walked for 30 minutes at a speed of 3 miles per hour. What is the total
    14·2 answers
  • WILL MARK BRAINLIEST:
    12·2 answers
  • Could i have help please?
    9·1 answer
  • Solve for x. 12x = 2x^2 + 18
    15·1 answer
  • A merchant purchased a line of handbags for 30$ each. She wanted to offer a 10% discount off the listed selling price and still
    14·1 answer
  • The price of milk tripled, and then rose another $0.75 per gallon. If the price now is AT LEAST $4.50 per gallon, which inequali
    11·2 answers
  • Please help I need to get this done today ​
    11·1 answer
  • Tameka pilots a hot air balloon. She lowers the balloon
    12·1 answer
  • !!!!!HELP WITH THIS ONE QUESTION PLEASE!!!!!
    14·1 answer
  • Determine the equation from the table listed below<br><br> Will give Brainly
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!