-3x ≤ -36 What is the solution?

Answers

Answer 1

Answer:

x≤12

Step-by-step explanation:

-3x≥36

÷-3  ÷-3


Related Questions

The area of ground A is given by 12x^2y sq. units and the area of ground B is given by 6xy^2sq Units
where x>0 and y> 0. Tiles of the same size need to be installed on both the grounds. What should
be the maximum tile area so that it can be used for both the grounds?

Answers

The maximum area of the tile to contain both grounds is 12x²y²

How to determine the maximum area of the tile?

From the question, we have the following parameters that can be used in our computation:

Area of ground A = 12x^2y sq. units

Area of ground B = 6xy^2sq units

Rewrite these areas properly

So, we have the following representation

Area of ground A = 12x²y sq. units

Area of ground B = 6xy² sq units

Express the areas as the products of their prime factors

This gives

Area of ground A = 2 * 2 * 3 * x * x * y

Area of ground B = 2 * 3 * x * y * y

From the above products, we have

Least common multiple = 2 * 2 * 3 * x * x *y * y

Evaluate the products

Least common multiple = 12x²y²

This represents the greatest area

Hence, the greatest area is 12x²y²

Read more about LCM at

https://brainly.com/question/16407111

#SPJ1

Which best describes the graph of
f(x) = log₂(x + 3) + 2 as a transformation of the
graph of g(x) = log₂x?

Answers

A translation 3 units left and 2 units up best describes the graph of  f(x) = log2(x + 3) + 2 as a transformation of the graph of g(x) = log2x

How to solve this problem?

f(x) = log2(x + 3) + 2 (given)

g(x) = log2x (given)

We need to describe the best statement for the graph

The graph is shown in the image

The following steps are shown to describe the graph.

The general equation of f(x) = log2(x-h)+k

When h > 0 (positive)

The graph of the base of the function shift to the right

When  h < 0 (Negative)

The graph of the base function shifts to the left.

When k > 0 (Positive)

The graph of the base function shifts upward.

When k < 0 (Negative)

The graph of the base function shifts downward

Here h = 3 , k = 2

Hence , a translation 3 units left and 2 units up describes the graph.

Learn more about Translating the logarithm function more

brainly.com/question/12640727

#SPJ1

I’m stuck on this question and would greatly appreciate it if someone could help!

Answers

Answer:  B)  1/12

Reason:

The horizontal width spans from 8 to 20. This is a distance of 20-8 = 12 units.

The height is some unknown, which I'll call x. We multiply the width and height to get the area. This area must be 1 to represent 100%. You can think of it like a pie chart. This applies to any probability distribution.

area = base*height

1 = 12*x

x = 1/12

Therefore, the height of this rectangle must be 1/12 so that the area of this rectangle is 1.

Use the Well Ordering Principle to prove that there is no solution over the positive integers to the equation: 4a3 + 2b3-c3. 2Proofs by other methods such as induction or by appeal to known formulas for similar sums will not receive full credit.

Answers

By using the well ordering principle we can easily prove that the equation

4a³ + 2b³ = c³ does not have any solution for positive integers.

Let (a, b, c) be a positive integer solution with c the smallest possible.

Then c³ is even as the sum of a factor of 4 and factor of 2 is always even .

hence c itself is even.

Let us consider  c = 2c₀ ;

4a³ + 2b³ = (2c₀)³

or, 4a³ + 2b³ = 8c₀³

then 2a³+b³ = 4c₀³

This time, we see that b must be even. using the same principle as above .

Put b = 2b₀ ;

2a³ + 8b₀³ = 4c₀³

then a³ + 4b₀³ = 2c₀³

thus a = 2a₀ must be even,

and 4a₀³+2b₀³=c₀³,

i.e. (a₀, b₀, c₀) is another solution. But c₀ = c/2<c.

And we have taken c to be the smallest of the solutions.

hence we get a contradiction.

Therefore our assumption is not valid.

To learn more about well ordering principle visit:

https://brainly.com/question/17295723

#SPJ4

Find f(x) where f'(x)=4x+7

Answers

Answer:

[tex]2x^2+7x+C[/tex]

Step-by-step explanation:

Find the antiderivative of f'(x)=4x+7

[tex]\frac{4x^{1+1} }{1+1}+7x+C\\\frac{4x^2}{2}+7x+C\\ 2x^2+7x+C\\[/tex]

10. In a class, % of the students are girls. % of the boys and % of the girls can swim.
(a) What percentage of students are boys? (b)What fraction of the students in the class can
swim
Please I'm in hurry help me​

Answers

Answer:

I cant see numbers sorry. post question again

The question is unclear.

Find the dimensions of the rectangular box with largest volume if the total surface area is given as 100 cm2. (Let x, y, and z be the dimensions of the rectangular box.)(x, y, z) =

Answers

The dimensions of the rectangular box with largest volume if the total surface area is given as 100 cm2: x = y = z = 2.449 cm.

Given that:

Total surface area of the rectangular box or cuboid = 100 cm²

A rectangular box with largest volume is a cube.

The total surface area of a cube = 6 times square of one edge length.

Let the edge length = given dimensions; x, y, z

So,

x = y = z

6x^2 = 100

x^2 = 100 / 6

x = √ 100 / 6

x = 10 / √ 6 cm

x = 2.449 cm

Hence, dimensions of the rectangular box with largest volume if the total surface area is given as 100 cm2: x = y = z = 2.449 cm.

Learn more about cube surface area at: https://brainly.com/question/13789496

#SPJ4

given class triangle, complete the program to read and set the base and height of triangle1 and triangle2, determine which triangle's area is smaller, and output the smaller triangle's info, making use of triangle's relevant methods.

Answers

The whole Python code is included below as an image, and it sets the base and height of triangles 1 and 2, then calculates the bigger area.

The code for determining the area of the triangle is:

class Triangle:

def __init__(A):

A.base = 0

A.height = 0

def set_base(A, user_base):

A.base = user_base

def set_height(A, user_height):

A.height = user_height

def get_area(A):

area = 0.5 * A.base * A.height

return area

def print_info(A):

print('Base: {:.2f}'.format(A.base))

print('Height: {:.2f}'.format(A.height))

print('Area: {:.2f}'.format(A.get_area()))

if __name__ == "__main__":

triangle1 = Triangle()

triangle2 = Triangle()

# TODO: Read and set base and height for triangle1 (use set_base() and set_height())

# TODO: Read and set base and height for triangle2 (use set_base() and set_height())

# TODO: Determine smaller triangle (use get_area())

print('Triangle with smaller area:')

# TODO: Output smaller triangle's info (use print_info())

Traingle is a type of polygon, the name itself days, tri means three, angles.

So, in a triangle, there will be three vertices, three sides and three angles.

The vertex of a triangle is a point where any two of the sides of a triangle meet.

The altitude of a triangle is the perpendicular length of the triangle, it is also called as height of the triangle. It is drawn perpendicular on the base of the triangle to the apex.

Base of a triangle is that particular side of the triangle on which an altitude is drawn.

For writing the code, we will put the input like only values, like 6.0, 7.0, 11.0 etc.

The first value will denote base of first triangle, second will denote height  of first triangle and third will denote base of second triangle and fourth value denotes height of second triangle/

Let us assume that,

Triangle with smaller area:

Base: 4.00

Height: 5.00 = [4.00*5.00]2 = 10.00

For more questions on Area of triangle by Python

https://brainly.com/question/25327642

#SPJ4

suppose a die is tossed 1000 times, and the following frequencies are obtained for the number of pips up when the die comes to a rest. x1 x2 x3 x4 x5 x6 163 178 142 150 183 184 using the chi-squared goodness of fit test, assess whether we have evidence that this is not a symmetrical die. record the standardized residuals.

Answers

We have evidence that this is not a symmetrical die, the standardized residuals is 9.5689

The die is tossed 1000 times

Given the observed value

x1 = 163

x2=178

x3=142

x4= 150

x5 = 183

x6 = 184

The mean = 163 + 178 + 142 + 150 + 183 + 184 / 6

= 1000 /6

= 166.67

Next we have to find the value of (observed value - Expected value)^2 / Expected value

x1 = (163-166.67)^2 / 166.67 = 0.081

x2 = (178-166.67)^2 / 166.67 = 0.7659

x3 = (142-166.67)^2 / 166.67 = 3.6598

x4 = (160 -166.67)^2 / 166.67 = 1.673

x5 = (183 - 166.67)^2 /  166.67 =  1.5938

x6 = (184-166.67)^2 / 166.67 =   1.7954

The standardized residuals = 0.081 + 0.7659 + 3.6598 +1.673 +1.5938 +1.7954 = 9.5689

Therefore, this is not a symmetrical die

Learn more about symmetrical die here

brainly.com/question/12834677

#SPJ4

An alternative sampling method would be to select a stratified random sample of eight apartments, where the
strata are apartments with children and apartments with no children. A stratified random sample of size eight
might include two randomly selected apartments with children and six randomly selected apartments with no
children. In the context of this situation, give one statistical advantage of selecting such a stratified sample as
opposed to a cluster sample of eight apartments using the floors as clusters.The amount of carpet wear could be different for apartments with and without children.
2. The stratified random sample ensures that some apartments with children will be selected.

Answers

(a) There are 36 ways to select 8 apartments randomly by cluster sampling method.

(b) Throughout this process, we obtain floors 3, 4, 6, or 3, 6, which do not have sample flats with children, and as a result, the sample will not accurately reflect the population.

(a) Given the building has 9 floors which are taken as N=9 clusters.

Each floor has 4 apartments.

It is to select 8 apartments by cluster sampling method.

That is to select a sample of size any n=2 floors(clusters) by cluster sampling method out of the population of N=9 clusters.

By simple random sampling without replacement, there are NCn = 9C2 =36 ways to select 2 clusters.

Hence, there are 36 ways to select 8 apartments randomly by cluster sampling method.

(b) The main benefit of stratified sampling over cluster sampling is that the sample obtained using this method will unquestionably include representations of both features, i.e., apartments with and without children as a full representative of the population.

In contrast, there is no guarantee that the sample of flats with and without children from the cluster sampling approach will accurately reflect both qualities. Sometimes throughout this process, we obtain floors 3, 4, 6, or 3, 6, which do not have sample flats with children, and as a result, the sample will not accurately reflect the population.

To learn more about random selection link is here

brainly.com/question/27975182

#SPJ4

The right question is given beow:


Which number line represents the solution set of the inequality -2x + 0.25 > 6.25?

Answers

The linear inequality x < - 3 is represented on the number line below

Graph of Linear Inequality

An Inequality represents the mathematical expression that shows both sides are not equal. When the relationship makes a non-equal comparison between two expressions or two numbers, then it is known as inequality. In this case, the equal sign in the expression is represented by any of the inequality symbols such as greater than symbol (>), less than symbol (<), greater than or equal to symbol (≥), less than or equal to symbol (≤) or not equal to symbol (≠).

The inequality given is;

-2x + 0.25 > 6.25

-2x > 6.25 - 0.25

-2x > 6.0

Divide both sides by coefficient of x

x < -3

Placing this on a number line, we would have;

Kindly find the attached graph below

learn more on graph of linear inequality here;

https://brainly.com/question/23093488

#SPJ1

What is the scale factor from the drawing to the actual billboard?
The scale factor is ?

Answers

10 inches is the scale factor from the drawing to the actual billboard

What is a Scale Factor?

A scale factor is a ratio of change from a drawing to real life. Typically, a scale factor is unit-less; a scale factor of 48 (or 1:48) is saying that for one unit on the page, it represents 48 of the same units in real life.

A scale factor is the ratio between corresponding measurements of an object and a representation of that object.

How to do scale drawing?

Scale drawings show an image either reduced or enlarged in size. The change between the original and the scaled drawing is generally represented by two numbers separated by a colon, like 10:1 (read as “ten to one”).

The difference between the ratio numbers represents the factor by which the scaled image is enlarged or reduced. So for a 10:1 scale ratio, a 1 inch (2.5 cm) drawing will be 10 inches (25 cm) in real life.

Methods are as follows :

Adjusting Image Size by Hand- Measure the object you’ll be scaling.Choose a ratio for your scaled drawing.Convert the actual measurements with the ratio.Start drawing the perimeter with a straight segment when possible. - Refer to the original drawing frequently.Use a piece of string to check the scaled lengths of irregular images.Add details after finishing the perimeter.

Changing Scale Digitally-

Scan the image or snap a pic of it with your phone.

Insert the image into a suitable program or app.

Navigate to the image layout options.

Adjust the height and width under the “Scale” heading.

Save the scaled image and you’re done.

Learn more about Scale factor by: https://brainly.com/question/25722260

#SPJ1


City A is located in a valley 15 meters below sea level, and City B is located *
43 meters above sea level. What is the difference, in meters, between the
elevations of these two cities? Remember, difference means subtract (and
you will need to SCO).

Answers

Answer:

To find the difference between the elevations of City A and City B, we need to subtract the elevation of City A from the elevation of City B. Since City A is located 15 meters below sea level, and City B is located 43 meters above sea level, the difference between their elevations is $43 - (-15) = 43 + 15 = 58 meters. Therefore, the difference between the elevations of City A and City B is 58 meters.

your ultra modern store is one story round. your square footage is 31,415. what is your he diameter of your store? area of a circle =

Answers

The solution is D = 200 feet

The diameter of the circular store is = 200 feet

What is a Circle?

A circle is a closed two-dimensional figure in which the set of all the points in the plane is equidistant from a given point called “center”. Every line that passes through the circle forms the line of reflection symmetry. Also, the circle has rotational symmetry around the center for every angle

The perimeter of circle = 2πr

The area of the circle = πr²

where r is the radius of the circle

The standard form of a circle is

( x - h )² + ( y - k )² = r²,

where r is the radius of the circle and (h,k) is the center of the circle

Given data ,

Let the diameter of the circle be represented as = D

Let the radius of the circular store be = r

D = 2r

Now , the area of the circular store be = A

The value of A = 31,415 feet²

The area of the circular store is given by the formula

Area of the circle = πr²

Substituting the values in the equation , we get

31415 = 3.1415 x r²

Divide by 3.1415 on both sides of the equation , we get

r² = 10000

Taking square roots on both sides of the equation , we get

r = 100 feet

Now , the diameter of the store = 2 x radius of the store

Diameter of the store D = 2 x 100 feet

Therefore , diameter of the store D = 200 feet

Hence , The diameter of the circular store is = 200 feet

To learn more about circle click :

https://brainly.com/question/28391204

#SPJ1

describe the transformation of f(x) = sin x to g(x) = sin (x - pi/3)

Answers

Answer:

gh(b)

Step-by-step explanation:

Answer:

shifted to the right

Step-by-step explanation:

WEIGHT A bag of apples claims to have a weight of 6 pounds. However, the actual weight is
6.241 lbs. Determine the approximate error of weight.
The approximate error of weight is
lbs.

Answers

Answer:

The approximate error of weight is 6.241 - 6 = 0.241 lbs

The approximate error of the given weight is 0.241 lbs

How to find the approximate error of weight?

The approximate error of weight is the difference between the claimed weight and the actual weight, which is:

Approximate error = Actual weight - Claimed weight

As per the question, we have

Actual weight =  6.241 lbs

Claimed weight = 6 lbs

Substitute the values in the formula and we get:

Approximate error = 6.241 lbs - 6 lbs

Approximate error = 0.241 lbs

Therefore, the approximate error of weight is 0.241 lbs.

This means that the claimed weight is off by 0.241 lbs, which could be significant depending on the context.

To learn more about the standard error click here:

https://brainly.com/question/14524236

#SPJ2


Write the equation of the line that has the slope of 7/3

and goes through the point (7,-9) in standard form.
****

Answers

The equation of the line that has the slope of 7/3 is:  y = (7/3) x - 27/49

What is equation of the line?

Finding the slope and y-intercept is necessary to express the equation of a graphed line in y-intercept (y=mx+c) form, which can then be used to get the equation of the line. The ratio of y to x is known as the slope. A slope triangle should be drawn connecting any two spots you find along the line.

Standard form, slope-intercept form, and point-slope form are the three main types of linear equations.

Given that,

slope (m) = 7/3

Putting (7,-9) into the equation: y =mx+c

or, -9 = (7/3) × (7) + c

or, -9 = 49 /3 + c

or, c = (-9) × (3/49)

or, c = -27/49

Thus, the equation becomes:

or, y = (7/3) x + -27/49

or, y = (7/3) x - 27/49

To know more about equation of the line refer to:

https://brainly.com/question/25969846

#SPJ1

1
The zeros of a parabola are -4 and 3, and it passes through the point (1, - 40).
What inequality represents all ordered pairs outside the parabola?
Drag a number or symbol into each box to correctly complete the inequality.

Answers

Answer:

Step-by-step explanation:

so a(x+4)(x-3)is total form after putting the point you will have 4(x+4)(x-3)=y

so answer is 4x^2+4x-48=y

Any help would greatly be appreciated.

Answers

The point of intersection is (0, -4).

What is the point of intersection?

In a plane, intersecting lines are any two or more lines that cross one another. The point of intersection, which can be found on all intersecting lines, is where the intersecting lines share a common point.

Here, we have

Given: f(x) = -x -4, g(x) -5x -4

The lines intersect where f(x) = g(x)

f(x) = g(x)

- x - 4 = -5x - 4

-x +5x = -4 +4

4x = 0

x = 0

Now, we put the value of x in f(x) and we get

f(0) = - 0 - 4

f(0) = -4

Hence, the point of intersection is (0, -4).

To learn more about the point of intersection from the given link

https://brainly.com/question/11337174

#SPJ1

Given a binomial experiment with the probability of success on a single trial p = 0.80, find the probability that the first success occurs on trial number n = 3. (Round your answer to three decimal places.)

Answers

The probability that the first success occurs on trial number n = 3 is 0.032

How to find the probability that the first success occurs on trial number n = 3?

Given:

probability of success on a single trial p = 0.80

trial number, n = 3

Recall the formula for the Geometric Probability Distribution

P(n) = p(1 - p)ⁿ⁻¹

where n is the number of the binomial trial on which the first success occurs and p is the probability of success on each trial

P(n) = p(1 - p)ⁿ⁻¹

P(3) = 0.8(1-0.8)³⁻¹

P(3) = 0.8(0.2)²

P(3) = 0.032

Learn more about binomial probability on:

brainly.com/question/29220138

#SPJ1

Find the x and y intercepts of the line: 3x - 4y = -24

Answers

Answer:

x- intercept = - 8 , y- intercept = 6

Step-by-step explanation:

to find the x- intercept let y = 0 in the equation and solve for x

3x - 4(0) = - 24

3x = - 24 ( divide both sides by 3 )

x = - 8 ← x- intercept

to find the y- intercept let x = 0 in the equation and solve for y

3(0) - 4y = - 24

- 4y = - 24 ( divide both sides by - 4 )

y = 6 ← y- intercept

12. Find (f-g)(y) if f(y)=5 y²-2y+1 and g(y)=-3y²-y-2
(f-g)(y)=2y²-3y-1
(f-g)(y)=8 y²-y+3
(f-g)(y)=8y²-3y-1
(f-g)(y)=2y²-y+3

Answers

The correct option is B (f-g)(y)=8 y²-y+3

What exactly are function and example?

A rule is something that produces one output from one input, such as a function. Alex Federspiel was the source of the image. As an illustration, consider the equation y=x2. For every x input, there is only one y output. The fact that x is the input value leads us to say that y is a function of x.

Which four sorts of functions are there?

The classification of various types of functions can be done using four primary categories. All functions are based on the element: one to one, many to one, onto, one to one, and into.

Given that:

f(y)=5 y²-2y+1

g(y)=-3y²-y-2

(f-g)(y) = 8y²-y+3

Option b is correct

Learn more about function

brainly.com/question/25638609

#SPJ1

lens $50000 over three months payable weekly at interest rate pf 2.85 per week should the person be late charge $600 per week. since the customer was late 5 times during the life of the loan and took and took an additional 2 weeks to settle calculate thr total interest

Answers

The total interest paid on the loan repayable over three months weekly at 2.85% per week is $3,584.96.

How is the total interest determined?

The total interest can be computed using an online finance calculator.

The result is then added to the late payment fees.  The default payment fee is the product of $600 and 5.

N (# of periods) = 14 weeks (3 x 4 + 2)

I/Y (Interest per year) = 2.85%

PV (Present Value) = $50,000

PMT (Periodic Payment) = $4,000

Results:

Sum of all periodic payments = $56,000.00

Total Interest = $584.96

Late payment charge = $3,000 ($600 x 5)

Total interest and late charge = $3,584.96

Learn more about interests and late payment fees at https://brainly.com/question/20803328

#SPJ1

Question Completion:

Assume that the borrower repays $4,000 weekly.

A _______ is a set of input data in a relationship

Answers

The complete answer: A domain is a set of input data in a relationship.

What is domain?

The collection of all conceivable independent values that a function or relation may take is known as its domain.

An input value and an output value are matched in a relation.

A relation is a function where each input value yields one and only one output value.

Graphs, tables, and ordered pairs can all be used to represent functions. The domain is the set of input values,

while the range is the set of output values.

The domain of a function or relation is the set of all possible independent values that it can have.

Therefore,  a domain is a set of input data in a relationship.

To learn more about the domain;

https://brainly.com/question/28135761

#SPJ1

The cost of three notebooks and four pencils is
$8.50. The cost of five notebooks and eight
pencils is $14.50. Determine the cost of one
notebook and the cost of one pencil.

Answers

Step-by-step explanation:

[tex]1. \: \: 3x +4 y = 8.50[/tex]

[tex]2. \: \: 5x + 8y = 14.50[/tex]

times equation 1 by 2

[tex]3. \: \: 6x + 8y = 17[/tex]

3-2 eliminates y variable

[tex]x =2.50[/tex]

[tex]y = 0.25[/tex]

build a slope intercept equation with given information (1,3); m=3

Answers

The Slope intercept form of equation passing through points ( 1 , 3 ) and having slope 3 is y = 3x

What is Slope Intercept Form ?

In mathematics, formulating an equation for a line in the form y = mx + b is known as slope intercept form. The m stands for the line's slope, and the b for the y-intercept. When you need to find a point on a line or solve for y given x, you utilize the slope intercept form.

According to the given information

Form of the slope intercept: y = mx + b

It goes through some points ( 1 , 3 )

Slope of the line given m = 3

Put x = 1 and y = 3 and m = 3 in slope intercept form equation

3 = 3( 1 ) + b

b = 0

Hence

Put the value of b = 0 in y = mx + c

y = 3x

The Slope intercept form of equation passing through points ( 1 , 3 ) and having slope 3 is y = 3x

To know more about Slope Intercept Form equation

https://brainly.com/question/21298390

#SPJ1

PLEASE HELP WILL GIVE BRAINLIEST IF HELPFUL.

log base (2) of (x^2 +5) = (3)

Answers

Answer:

Step-by-step explanation:

log base (2) of (x^2 +5) = (3) can also be described as 2^3 = x^2 + 5

simplify: 8 = x^2+5

Subtract 5 from each side: 3 = x^2

square root: x = sqrt(3)

Answer:

Step-by-step explanation:

[tex]log(2)^{(x^2+5)}=3\\[/tex]

[tex]2^3 =x^2+5\\8-5=x^2\\x^2=3\\x=\pm\sqrt{3}[/tex]

Please help will mark Brainly

Answers

Answer:

A

Step-by-step explanation:

Blue = River Y

Red = River Z

River Y equation: y = 18

River Z equation: y = 10 + 2x

Graph A represents this system of equations.

IF THIS HELPED YOU GIVE ME BRAINLIEST FOR GOOD LUCK FOR 10 YEARS

your goal is to generate a simple math quiz with a number of equations that will be determined by the user. you will prompt the user for an answer to each equation and display whether they answered it correctly or incorrectly. at the end of the math quiz, you will display the number of total equations that they answered correct out of how many were given

Answers

The statement of the problem has already made a lot of decisions for us. We are told to use three global variables of type int[]. The variables must be static, and I have chosen to make them private, so the declarations become:

private static int[] firstNumbers;  // The first numbers in all ten questions.

private static int[] secondNumbers; // The second numbers in all ten questions.

private static int[] user answers;   // The user's answers to the ten questions.

Note that these declarations are not in any subroutine. These statements only create variables, not arrays. We still need to create three arrays of length 10. The arrays can be created using the new operator. This initialization could in fact be combined with the declaration of the variables:

private static int[] firstNumbers = new int[10];

private static int[] secondNumbers = new int[10];

private static int[] userAnswers = new int[10];

Another possibility would be to create the three arrays at the beginning of the main() routine. In fact, I chose to create them in the subroutines where they are first used.

The program has three stages -- create the problems, administer the quiz, and grade the quiz -- and we are told to write a subroutine to do each stage. The main program simply has to call the subroutines:

public static void main(String[] args) {

   createQuiz();

   administerQuiz();

   gradeQuiz();

}

This is an example of using subroutines to break up a large task into several simpler subtasks, so that programming each subtask becomes a separate problem. The subroutines are short and not too hard to write. Looking at administerQuiz() as an example, note that the user's answers have to be stored in the array, the user answers so that they can be used when grading the quiz. I create the array itself before asking any questions and then store the user's responses in the array as they are read by the user. On the other hand, the arrays that hold the numbers that occur in the questions have already been created and filled before administerQuiz() is called. Here's the subroutine:

private static void administerQuiz() {

   userAnswers = new int[10];

   for (int i = 0; i < 10; i++) {

       int questionNum = i + 1;

       System.out.printf("Question %2d:  What is %2d + %2d  ? ",

                     questionNum, firstNumbers[i], secondNumbers[i]);

       userAnswers[i] = TextIO.getlnInt();

   }

}

A couple notes about the output: I wanted to number the questions 1, 2, ..., 10, but the elements of the arrays are numbered 0, 1, ..., 9. This means that the question number that I output has to be one more than the array index. Also, all the numbers that occur in my program are either one or two digits. By allowing exactly two digits for each number in the output, I can get everything to line up neatly. Here's the I/O for a sample run of the program:

Welcome to the addition quiz!

Question  1:  What is 40 + 14  ? 54

Question  2:  What is 18 + 38  ? 46

Question  3:  What is 21 + 31  ? 52

Question  4:  What is 18 + 36  ? 54

Question  5:  What is 43 + 12  ? 55

Question  6:  What is 21 + 17  ? 38

Question  7:  What is 33 + 25  ? 58

Question  8:  What is 39 + 21  ? 70

Question  9:  What is  1 + 25  ? 26

Question 10:  What is 39 + 26  ? 65

Here are the correct answers:

  Question  1:  40 + 14  =  54.  You were CORRECT.

  Question  2:  18 + 38  =  56.  You said 46, which is INCORRECT.

  Question  3:  21 + 31  =  52.  You were CORRECT.

  Question  4:  18 + 36  =  54.  You were CORRECT.

  Question  5:  43 + 12  =  55.  You were CORRECT.

  Question  6:  21 + 17  =  38.  You were CORRECT.

  Question  7:  33 + 25  =  58.  You were CORRECT.

  Question  8:  39 + 21  =  60.  You said 70, which is INCORRECT.

  Question  9:   1 + 25  =  26.  You were CORRECT.

  Question 10:  39 + 26  =  65.  You were CORRECT.

You got 8 questions correct.

Your grade on the quiz is 80.

To know more about quiz visit: brainly.com/question/24244569

#SPJ4

Allie receives a $20 gift card for the local coffee shop, where she only buys lattes and muffins. If the price of a latte is $4 and the price of a muffin is $2, then we can conclude that Julia:

Answers

If the price of a latte is $4 and the price of a muffin is $2, then we can conclude that Julia can buy 5 lattes or 10 muffins ($20) if she chooses to buy only one of the two goods.

How to illustrate the price?

A price is the sum of money that one party pays or receives in exchange for another's goods or services. The cost of production may go by another name in certain circumstances. If the item is a "good" in a commercial transaction, the cost of the item will probably be referred to as its "price."

In this case, Allie receives a $20 gift card for the local coffee shop, where she only buys lattes and muffins. Here, we can conclude that Julia can buy 5 lattes. This will be 5 × $4 = $20 or 10 muffins which will be:

= 10 × $2

= $20

Learn more about price on:

https://brainly.com/question/1153322

#SPJ1

Other Questions
while discussing ei service, technician a says the crankshaft sensor may be rotated to adjust the basic ignition timing. technician b says the crankshaft sensor may be moved to adjust the clearance between the pickup coil and reluctor on some ei systems. who is correct? attorney general harry daugherty resigned in disgrace after being investigated for taking bribes in exchange for allowing Here is a graph of y=k/x-What is the value of k? A box contains 2 red marbles and 3 black marbles. Two marbles are drawn in succession without replacement. Find the following: a. Find the probability the second marble is red? b. Find the probability that both marbles are the same color? c. Find the probability that the second marble is black given the first marble is red? d. Find the probability that first marble red given that the second marble is red? Explicit attitudes activate the ____ while implicit attitudes activate the ___O amygdala; thalamus O orbitofrontal cortex; amygdala O amygdala; orbitofrontal cortex O orbitofrontal cortex; thalamus which of the following civil rights leaders was not assassinated or killed during the civil rights movement ( Rosa park ,MLK, Malcolm X Emmitt till)(pls help its a test ) Fully simplify.(3x^2y^2)^3(3x 2 y 2 ) 3 (Offering Lots of Points) Please help me with this question! AXY is similar to ABCWhich of the following expressions could be used to determine the length of segment AB? Persuasive advertising is typically used in the latter part of the maturity stage and throughout the decline stage of the product lifecycle.False HELPP PLS!!Which sentence uses correct subject-verb agreement A. The rings on my my hand is uncomfortableB. The bear she sees between the trees is a grizzly.C. The child under the pillows are hiding.D. All the flowers around the town is blooming the presence of meltwater at the bottom of a glacier can increase its rate of movement. question 36 options: true false Working capital does not include:a. cashb. accounts receivablec. marketable securitiesd. property, plant, and equipment which of the following is true about interfaces and abstract classes? group of answer choices an interface cannot have default methods whereas an abstract class can. an interface cannot have instance variables whereas an abstract class can. an interface can specify static methods whereas an abstract class cannot. an interface cannot be instantiated whereas an abstract class can. Need Help with this question. TRUE/FALSE. the literature review is a continuous process, which begins before a research question is finalized and continues to the end. suppose a coin is fair (p=1/2 for heads or tails). How many times would you have to flip the coin to get the standard error down to 1% When should you write a functional (skills) rsum? a. when you work history does not have obvious gaps. b. when you are making a career change. c. when your most recent job is similar to the one you are applying to. d. when you are applying to a very traditional company. please select the best answer from the choices provided a b c d the government passes a new initiative to encourage savings in a country with a well-functioning banking system. which of the following is the best explanation of the savings initiative's impact on economic growth in the country? group of answer choices technological advance occurs, but there is no effect on economic growth. human capital is enhanced, and economic growth is positively affected. the capital stock increases, and economic growth is positively affected. the capital stock decreases, and economic growth is negatively affected. a random sample of size 36 is taken from a population with mean 17 and standard deviation 6. the probability that the sample mean is greater than 18 is?