HELP CODE HS 3.2.8 repeating message

HELP CODE HS 3.2.8 Repeating Message

Answers

Answer 1

The program is an illustration of loops.

Loops are used to perform iterative and repetitive operations.

The program where comments are used to explain each line is as follows:

public class MyProgram extends ConsoleProgram {

   public void run()     {

//This prompts the user for the number of times to repeat the message

       echo("Anybody home?", readInt("Times to repeat: "));

   }

    private void echo(String lineOne, String lineTwo, int numTimes)     {

//The following iteration is repeated numTimes times

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

//This prints lineOne

       System.out.println(lineOne);

//This prints lineTwo

       System.out.println(lineTwo);

       }

   }

}

Read more about similar programs at:

https://brainly.com/question/17972093


Related Questions

Is ( - 1, 2) a solution of the system y > x and x + y > 0?
O No, because ( - 1, 2) is a solution to only one of these inequalities.
O Yes, because ( – 1, 2) is a solution to both inequalities.
O Yes, because ( - 1, 2) is the point of intersection of the two boundary lines of this system.
No, because ( – 1, 2) is not a solution to either inequality.

Answers

Answer:

Yes, because (-1,2) is a solution to both inequalities

Step-by-step explanation:

2>-1 so the first inequality is correct

-1+2>0 so the second inequality is correct

5. Use the point-slope formula to determine the equation of a line that passes through the points (1, 2) and (-2, 1).

Answers

Answer:

In point-slope form the equation is:

[tex]y - 2 = \binom{1}{3} \times (x - 1)[/tex]

In February Lana got a puppy that weighed 13 kilograms. By October the puppy weighed 16.9 kilogram. What was the puppy’s weight increase?.

Answers

16.9 minus 13 equals to 3.9 increase

Answer:

3.9

Step-by-step explanation:

16.9 take away 13 and you get 3.9 kilograms

Body surface area is calculated a) in m2 from weight and height. b) from height. c) from weight. d) in meters from weight and height.

Answers

Answer:

Body surface area is calculated a) in m2 from weight and height.

Step-by-step explanation:

Basically the surface has to be in m2, because you have two dimensions when you multiply: e.g. when you have a lawn 10m x 10m, then you multiply 10 times 10, and meters times meters, so

[tex]10m * 10m = 100m^2[/tex]

Witch is a correct name of the angle shown?

Answers

Answer:

CBA

Step-by-step explanation:

B is the middle n angles should be btn two lines ie AB and BC. so they had a common point B hence the joining occured at B

The answer for that is

Han rides his bike for 50 miles over 4 hours.How long will it take him to ride 75 miles?

Answers

Answer:

6 hours.

Step-by-step explanation:

This is directly proportional, meaning if you multiply one side by a number, you multiply the other side by the same number. For the ratio 50:4, you would have to multiply 1.5 to 50 to get 75 miles, so you would also have to multiply 4 by 1.5. This would get you 6 hours.

If you see such unnecessary question like this, please report it. This person always asks others for bad things. Please report him. That's your responsibility as a polite Brainly User. Thank You !​

Answers

Answer:

You are right

Step-by-step explanation:

Have a nice day

13. A stack of lumber contains the following: three 1" x 6" X 8' pieces of yellow pine. six 2" x 10" x 12' pieces of redwood. six 1" x 8" 10' pieces of fir. How many total board feet of lumber are in this stack? *


180 board ft

162 board ft

192 board ft

172 board ft

Answers

Answer:

Step-by-step explanation:

A board foot is 1 inch thick by 1 ft by 1 ft

(3) 1 x 6  8'  are already 1 inch thick ½ ft wide and 8 ft long

  3 x 1 x (6/12) x 8 = 12 board ft.

(6) 2" x 10" x 12'  are 2 thick x 10/12 ft wide by 12 ft long

  6 x 2 x (10/12) x 12 = 120 board ft.

(6)  1" x 8" x 10'

  6 x 1 x (8/12) x 10 = 40 board ft

12 + 120 + 40 = 172 board ft

Solve for B -(12 x 2) x (-6) = -12 x (2 x b)
A. -6
B. 6
C. -12
D. 12

Answers

Answer:

Option A

Step-by-step explanation:

-(12 x 2) x (-6) = -12 x (2 x b)

=> -24 x -6 = -12 x 2b

=> 144 = -24b

=> b = -6

Hoped this helped.

Repost
A group of tourists are on a three-day hiking trip. They hike ⅛ of the trail on the first day. On the second day, they hike 4/7 of the remaining distance. On the third day, they hike 1/3 of the remaining distance, plus the final 8 km. How many kilometers long is the trail?

Answers

Answer:

you told me to resolve this problem

Step-by-step explanation:

Answer:

9

Step-by-step explanation:

you add the thing then multipy it then do math!

Ella needs to buy 43 party favors that cost $2.75 each. Estimate the total cost by rounding the number of favors to the nearest ten and cost of each favor to the nearest dollar

A. $118.25
B. $120
C.$129
D.$135

Answers

Answer:

b.$120

Step-by-step explanation:

Party Favors rounded= 40

Dollars rounded= 3

40x3= 120

help me due today it is mathematics

Answers

Answer:

Miranda is correct because the value 7 makes the equation equal

I am not sure what goes in the blanks, those are my best guesses.

Step-by-step explanation:

34 = 27 + p

7 = p

Hopefully this helps!

Brainliest please?

Question 5 of 10
Which of the following rational functions is graphed below?
10 H
10
10
O A. F(x) =
FIX) *-*
X5
X1
B. Fx) = 6-14-5
(x - 1)(x-5)
c. F(X) = 1
D. F(X) = x+5
-
x + 1

Answers

We want to find the equation for the graphed rational function. Notice that the options are not given, so I will try to find the function only from the graph.

The function is:

[tex]f(x) = \frac{(x - 5)}{x - 1}[/tex]

How to analyze the graph of a rational function?

The first thing that we can see in the graph is that we have vertical asymptotes at x = 1.

The one in the positive side (of the x range) goes to negative infinity, while the other goes to positive infinity, then the equation will be something like:

[tex]f(x) = \frac{something}{x - 1}[/tex]

Such that the asymptotes are caused when the denominator is equal to zero.

We can see that we also have a horizontal asymptote at y = 1.

This means that, as x tends to infinity, our function will tend to 1, so we have something like:

[tex]f(x) = \frac{(x + b)}{x - 1}[/tex]

The horizontal asymptote is equal to the ratio of the leading coefficients when both polynomials have the same degree, like here, so we can take the two leading coefficients equal to 1, such that:

y = 1/1 = 1

To find the value of b, we evaluate the function in 0:

[tex]f(0) = \frac{b}{-1} = -b[/tex]

And if you look at the graph, you can see that at x = 0 we have:

f(0) = 5

then b = -5

So the function is:

[tex]f(x) = \frac{(x - 5)}{x - 1}[/tex]

If you want to learn more about rational functions, you can read:

https://brainly.com/question/1851758

What determines whether a relationship
is proportional or not?

Answers

Answer:

When two ratios exhibit the same connection, they are said to be proportionate. Two ratios may be tested for proportionality by writing them as fractions and then reducing them to the smallest possible number. In this case, your ratios are proportionate since the reduced fractions are the same.

Step-by-step explanation:

Hope it helps:)


Logan is a great babysitter. He makes $9 an hour. Jeanette is an even better babysitter. She makes $16 an hour. Jeanette works 18 hours each week. How many
hours does Logan need to work in order to earn as much money as Jeanette earns in a week?

Answers

Answer:

18hx16money=288 dollars

Step-by-step explanation:

to ez and np

Answer:

32 hours a week

Step-by-step explanation:

First you have to find out how much Jeanette makes. You can do this by multiplying 16 x 18 since she makes $16 18 times a week. This gives you $288 that she makes each week.

Now to find how much Logan would have to work you take 288 and divide it by 9. You do this because you need to see how many times 9 goes into 288 to give you the amount of hours. When you divide you get 32.

Are the ratios 6:1 and 19:3 equivalent?

Answers

Answer: no<3

Step-by-step explanation:

leave a thanks if helped plz

e/kaid_274404147475337871026587/assig!
Khan Academy
Percent word problems
Of the 50 U.S. states, 4 have names that start with the letter W.
What percentage of U.S. states have names that start with the letter W?
0
Stuck? Review related articles/videos or use a hint.

Answers

Answer:

Step-by-step explanation:

4/50 = 0.08

0.08(100) = 8%

(9x+3)5 i really need help with this pleaseeee

Answers

Answer:

1/15

Step-by-step explanation:

Thats my guess I think its that though.

Answer: 3

Step-by-step explanation:

PEMDAS

Mort and George are 18 miles apart on a path when they start moving toward each other. Mort runs at a constant speed of 7 miles per hour, and George walks at a constant speed of 5 miles per hour. How long does it take until Mort and George meet?

Answers

Answer:

  1 1/2 hours

Step-by-step explanation:

In one hour, the distance between them is reduced by 7+5 = 12 miles. At that rate, the 18 mile distance between them will be reduced to zero in ...

  time = distance/speed

  time = (18 mi)/(12 mi/h) = 3/2 h

It will take 1 1/2 hours until Mort and George meet.

What is 4% of 4% of 40,000? Show the working please.

Answers

Answer:

64

Step-by-step explanation:

4% of 40,000= 1,600

4% of 1600= 64

Answer:

64

Step-by-step explanation:

4% = 4/100=0.04

[tex](\frac{4}{100} )(\frac{4}{100} )(40000)=(0.04)(0.04)(40000)=64[/tex]

Hope this helps

when a company produces 5,000 units, variable costs are $35 per unit and total cost in $200,000. What is the total cost when the company produces 8,000 units? (both 8000 and 5000 units produced are within the relevant range.)

Answers

$320,000 is what the company produces with 8000 units.-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Can someone please help me

Answers

Answer:

Answer for question 16 $24.64

Answer:

$3.36

17. 31%

18 $ 24.50

Step-by-step explanation:

28 x 0.12 = $3.36

17. 484 - 333.96 = 150.04

What percentage is 150.04 of 484

X/100 = 150.04/484 (% / 100 = is/of)

= 31%

8. 35 x 0.30 = 10.50

$35 - $10.50 = $24.50

5/12+2/3=37 I need help

Answers

Answer:

13/12=37

Step-by-step explanation:

1.Amulya is x years now. Write expressions for her age 5 years ago?

Take Sarita’s Age to be y years
a) What will be her age 5 years from now?
b) What was her age 3 years now?
c) Sarita’s grandfather is 6 times her age. What is the age of her grandfather?
d)Grandmother is 2 years younger than grandfather. What is his grandmother ’s age?
e) Sarita’s father’s is age is 5 years more than 3 times Sarita’s age. What is her father’s age?

Answers

Answer:

Step-by-step explanation:

1)    a = x - 5

a)   z = y + 5

b)  z = y - 3

c)   z = 6y

d)  z = 6y - 2

e) z = 3y + 5

Sociologists studying social mobility in the U.S. find that the probability that someone who began their career in the bottom 10% of earnings remains in the bottom 10% fifteen years later is 0.59. What is the probability that such a person moves to one of the higher income classes fifteen years later? (Use decimal notation. Give your answer as an exact number.)
probability:

Answers

Using probability of complementary events, it is found that there is a 0.41 probability that such a person moves to one of the higher income classes fifteen years later.

When two events are complementary, the sum of their probabilities are 1.

In this problem, either a person moves to a higher income class or they do not, hence, the events are complementary.

0.59 probability that a person does not move to a higher class.Hence, 1 - 0.59 = 0.41 probability that such a person moves to one of the higher income classes fifteen years later.

A similar problem is given at https://brainly.com/question/24084986

How much force is required to accelerate a 4 kg mass at 6 m/s2

Answers

Answer:

is it 24 N?

as we know ....

force=mass * acceleration

force=4kg*6m/s2

hence force is 24N

The required Force = 24 N

What is Force?

The push or pull on an object with mass causes it to change its velocity.

Given that a body of 4 kg mass is accelerated at 6 m/s²

Force = ma

where m = mass and a = acceleration

F = 6*4 = 24 N

Hence, the Force required = 24 N

For more references on Force, click;

https://brainly.com/question/13191643

#SPJ2

Snow fell from 6:30 am to 11:00 am, accumulating at a constant rate. At 8:00 am, the snow was 8 inches deep. By 11:00 am, it was 20 inches deep. How much snow fell each hour? (Part one)

Answers

The answer to the first box would be 4

Answer:

4 for the first box

Step-by-step explanation:

if 9/24 equals 3/x , then x is ____​

Answers

[tex]\\ \sf\longmapsto \dfrac{9}{24}=\dfrac{3}{x}[/tex]

[tex]\\ \sf\longmapsto \dfrac{3}{8}=\dfrac{3}{x}[/tex]

[tex]\\ \sf\longmapsto 3x=24[/tex]

[tex]\\ \sf\longmapsto x=24/3[/tex]

[tex]\\ \sf\longmapsto x=8[/tex]

regal furniture company allocates its indirect salaries of $22,500 on the basis of sales. Determine the indirect salaries allocated to Departments 1 and 2 using the following information.

Answers

Answer:

$15750 and $6750

Step-by-step explanation:

Revenue share of Dept. 1:

182000/260000*100% = 70%

Revenue share of Dept. 2:

100% - 70% = 30%

Allocate the indirect salary with same ratio.

Dept. 1:

22500*70/100 = 15750

Dept. 2:

22500 - 15750 = 6750

Pls i need an answer now ​

Answers

Answer:

Step-by-step explanation:

1. 5, 3.5, [tex]\sqrt{9\\}[/tex], [tex]-\frac{12}{5}[/tex], -7

2. 10, π ,3.1415, 0, -10

3. 1[tex]\frac{1}{2}[/tex], 1.44, 1.4(3), 1.(43), [tex]\frac{7}{5}[/tex]

Other Questions
If dna is colorless when dissolved in water, how were you able to see the dna after it ran through the gel?. A boy eats of a loaf at breakfast and of it for Lunch. what fraction of the loaf is Left? Someone help me with this pls Distribute to write an equivalent expression 7(x+3) A. Conjugate each verb in parentheses into the imperfect tensejugar) conCuando mis padres 1.muecas y bloques y 3.(bailar) mucho y mi pap 5.(gustar) jugar con sus amigas all.(ser) nios, ellos 2.(leer) muchos libros. Mi mam 4.(ir) al patio de recreo porque 6. If 3x + 2 > X + 8 thenHelp please Given that the line is x/3 + y/2 =1i ) make y the subjectii ) gradient of line whats the reciprocal of 5 4/9 The bureaucratic structure that arranges employees by multiple factors such as region, products, or clients is known as the ______ structure. Help...Question 1 Objective: Apply properties of rhombi to solve mathematical and real-world problems. Rhombus LMNO is shown with its diagonals. Angle MNO measures 119. What is the measure of angle LMN? M P N o 1. What do you see in the picture?2. How do you feel about this picture? How do you feel about the destruction? do liver cells undergo meiosis? solve pls branliest! PLEASE I DESPIRETLY NEED HELP Based on the reading, what two features could you add to this chart that might make it more relevant to the article on pets in the military?1774-83U.S. Revolutionary War1820s-80sWestwardExpansion:War on the Native Americans & Mexicans1861-65U.S. Civil War1914-45World War I and II1940s-90sCold WarKorean War1959-75Vietnam War1990-91Gulf War2001Iraq War and War on Terror Do yall know the answer .??? can someone help me solve this problem? (photo) In 1981, two animators, Ollie Johnston and Frank Thomas, wrote a book called The Illusion of Life: Disney Animation. True False I only need question 51 pleaseeee (8 points) will mark brainliest!! pls help:) Can some please write an interesting summary on Our Planetwhich is on Netflix