answer.
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]
2 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]2 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]2 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
The glee club has $90 to spend on pens and pencils. Each pen costs $0.75 and each pencil costs $0.15. Let x represent the number
Deffense [45]

Answer:

part a: answer b. 0.75x + 0.15y = 90

8 0
2 years ago
Read 2 more answers
Mr. jovanovski is having wood flooring put in his rectangular living room. the area of the room is 234 square feet. the length o
OlgaM077 [116]
By definition the area of a rectangle is:
 A = l * w
 Where,
 l: long
 w: width
 So we have to clear the width:
 w = A / l
 Substituting the values:
 w = (234) / (18) = 13
 w = 13 feets
 answer
 the width, in feet, of the room is 13
5 0
2 years ago
Read 2 more answers
(03.02 MC)
Rudik [331]

Answer: see photo

Step-by-step explanation:

5 0
1 year ago
A right triangle has one angle that measure 23o. The adjacent leg measures 27.6 cm and the hypotenuse measures 30 cm. What is th
Zigmanuir [339]
It A ( 68.7 cm<span>2 ) hope that help guys</span>

4 0
2 years ago
Read 2 more answers
At a construction site, a builder plans to cut down an 8-foot-by-9-foot piece of plywood. She plans to discard any pieces that s
AnnZ [28]

Answer:

12 i think

Step-by-step explanation:

6 0
2 years ago
Other questions:
  • (GEOMTRY PLS HELP)A napkin is folded into an isosceles triangle, triangle ABC, and placed on a plate, as shown. The napkin has a
    6·2 answers
  • PLZ HELP ASAP
    5·2 answers
  • in baseball anthony hit 0.63 of the pitches thrown at him what percent of the pitches did anthony miss
    12·1 answer
  • A plant is already 11.50 meters tall, and it will grow 9 centimeters every month. The plant's height, H (in meters), after x mon
    8·1 answer
  • a local city collects 8% sales tax if the total purchase was $216 then how much was collected for sales tax
    9·1 answer
  • Amanda bought g gallons of paint for $16.55 per gallon and t pints of paint thinner for $5.97 per pint. Write an expression to r
    5·1 answer
  • 1. Find an odd natural number x such that LCM (x, 40)= 1400
    13·1 answer
  • Four equivalent forms of a quadratic function are given. Which form displays the zeros of function h?
    7·2 answers
  • Jin’s soccer team has 4 coaches and 22 players, and his twin sister’s team has 2 coaches and 11 players. If the relationship bet
    13·2 answers
  • What is the selling price of a $610 couch with a 25% markup?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!