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]
1 year 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]1 year 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]1 year 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 b, given that a = 20, angle A = 30°, and angle B = 45° in triangle ABC
Kamila [148]
<span>The side b is opposite to the angle B, applying the law of the sines, we have:

</span>\frac{a}{sinA} = \frac{b}{sinB}
\frac{20}{sin30^0} = \frac{b}{sin45^0}
\frac{20}{ \frac{1}{2} } = \frac{b}{ \frac{ \sqrt{2} }{2} }
20* \frac{ \sqrt{2} }{2}  = b* \frac{1}{2}
\frac{20 \sqrt{2} }{2} = \frac{b}{2}
2*b =2*20 \sqrt{2}
2b = 40 \sqrt{2}
b =  \frac{40 \sqrt{2} }{2}
\boxed{b = 20 \sqrt{2} }
6 0
1 year ago
Read 2 more answers
Leo is testing different types of greenhouse material to determine which type is most effective for growing strawberry bushes. H
alexandr1967 [171]

Answer:

Hey there!

This is not a valid experiment because the sunshine each section received were not equal.

Let me know if this helps :)

7 0
2 years ago
Read 2 more answers
hury!!!! Which system is equivalent to StartLayout Enlarged left-brace 1st row y = negative 2 x squared 2nd row y = x minus 2 En
jeka57 [31]

Answer:

3rd Option

Step-by-step explanation:

Which equation is the inverse of y = 7x2 – 10?

y = StartFraction plus-or-minus StartRoot x + 10 EndRoot Over 7 EndFraction

y = plus-or-minus StartRoot StartFraction x + 10 Over 7 EndFraction EndRoot

x = plus-or-minus StartRoot StartFraction x Over 7 EndFraction + 10 EndRoot

y = StartFraction plus-or-minus StartRoot x EndRoot Over 7 EndFraction plus-or-minus StartFraction StartRoot 10 EndRoot Over 7 EndFraction

8 0
1 year ago
Read 2 more answers
An ice cream store has two new flavors: Fantasy and Ecstasy. Each barrel of Fantasy requires 4
Y_Kistochka [10]

Answer:

  • Fantasy: 3 barrels
  • Ecstasy: 1 barrel

Step-by-step explanation:

<u>Given</u>

  Fantasy uses 4 lb of nuts, 3 lb of chocolate, for a profit of $50

  Ecstasy uses 4 lb of nuts, 1 lb of chocolate, for a profit of $40

  In stock are 16 lb of nuts, 10 lb of chocolate

<u>Find</u>

 amount of each to maximize profit

<u>Solution</u>

Let x and y represent barrels of Fantasy and Ecstasy, respectively. Then the limitations on production are ...

  4x +4y ≤ 16 . . . lb of nuts

  3x +y ≤ 10 . . . . lb of chocolate

We want to maximize

  50x +40y

The graph shows the feasible region. Its vertices are ...

  (0, 4), (3, 1), (3.33, 0)

Profit is maximized at $190 when production is 3 barrels of Fantasy and 1 barrel of Ecstasy.

8 0
1 year ago
Find the solution to each of these recurrence relations and initial conditions. use an iterative approach such as that used in e
Kamila [148]
Ok he anawee is d I’m pretty sure
8 0
1 year ago
Other questions:
  • a rectangle pyramid fits exactly on top of a rectangular prism. the prism has a length of 18 cm, a width of 6 cm, and a height o
    14·1 answer
  • A craft store buys 50 yards of satin ribbon for 13.50. The store. The store sells the ribbon by the foot.A customer can purchase
    15·1 answer
  • A manufacturer wants to double the volume of a 3 in.×2 in.×6 in. 3 i n . × 2 i n . × 6 i n . box, while using as little extra ca
    10·1 answer
  • Darcie wants to crochet a minimum of 3 blankets to donate to a homeless shelter. Darcie crochets at a rate of 1/15 ​ of a blanke
    15·2 answers
  • The weight of a soccer ball is normally distributed with a mean of 21 oz and a standard deviation of 3 oz. Suppose 1000 differen
    13·2 answers
  • What is the slope-intercept form of the following equation? 10x + 4y = 16 options: a.) y =−5/2x + 16 b.) y = −5/2x + 4 c.) 4y =−
    14·2 answers
  • Solve the literal equation for x. <br><br> w=5+3(x−1)
    6·1 answer
  • S the following statement always, sometimes, or never true?
    10·2 answers
  • Antonio has just graduated from four years of college. For the last two years, he took out a Stafford loan to pay for his tuitio
    9·2 answers
  • Maya scored 32 out of 40 for a Math's test and 41 out of 55 for a science's test. For which test did she score a lower percentag
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!