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
den301095 [7]
2 years ago
14

Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has

already been declared, use a for loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j.
Mathematics
1 answer:
Inessa05 [86]2 years ago
7 0

Answer:

for(j = n; j > 0; j--)

System.out.print(\"*\");

Step-by-step explanation:

-A for loop is a repetition control structure.

-It allows the efficiency to write a loop that would otherwise be written a couple of times.

-The output is a single line comprising n asterisks,

-The number of asterisks printed will be equivalent to the n-value declared.

You might be interested in
shirley is going to have the exterior of her home painted. tims painting charges  $250 plus $14 per hour. colorful prints charge
Alexandra [31]
x-\ number\ of\ hours\\\\
250+14x
6 0
2 years ago
ANSWER IT CORRECTLY FOR BRAINLIEST Amelia built a scale model of a float, using the scale 48:7. The measurements of the actual f
Rashid [163]

Answer:

The third one :)                          

Step-by-step explanation:

6 0
2 years ago
-3+3x=-2(x+1)<br> the 2 is a negative<br> please break it down
Veronika [31]
-3+3x=-2(x+1) First: I will get rid of the bracket:


-3+3x=-2x-2

Now, all the x goes to the left side, all the numbers without x to the right side:


3x+2x=-2+3

we add up"

5x=1

divide by 5:

x= \frac{1}{5}

7 0
3 years ago
Read 2 more answers
In the June 2007 issue, Consumer Reports also examined the relative merits of top-loading and front-loading washing machines, te
saveliy_v [14]

Answer:

Yes

Step-by-step explanation:

Given that in the June 2007 issue, Consumer Reports also examined the relative merits of top-loading and front-loading washing machines, testing samples of several different brands of each type.

The difference in mean values test gave a p value of 0.32

Confidence level = 95%

Alpha = 1-0.95 = 0.05

Compare p with alpha, here p >alpha

Hence we accept null hypothesis that there is no difference in the means.

Confidence interval method also will yield the same result.  i.e. confidence interval for difference of means would definitely contain 0 at 95% conf level.

So answer is yes

3 0
2 years ago
if f(x)=2(x)^2+5sqrt(x+2), complete the follwoing statement ( round your answer to the nearest hundreth) : f(0)=_____
Maslowich

Answer:

f(0)=7.07

Step-by-step explanation:

We have the function f(x)=2(x)^2+5\sqrt{(x+2)}

In this case we want to find the value of f0)

To find f(0) you must replace the x in the function with the number 0 and solve as shown below

f(0)=2(0)^2+5\sqrt{(0+2)}

f(0)=0+5\sqrt{(0+2)}

f(0)=5\sqrt{(2)}

Therefore

f(0)=7.07

5 0
3 years ago
Other questions:
  • When finding a slope why doesnt it matter what 2 points you use?
    6·1 answer
  • What is the simplified form of the expression?
    13·2 answers
  • 2 - ( - 8 ) + ( - 3 ) =
    5·1 answer
  • Evaluate the following expression.<br> 2+1 times 2
    11·2 answers
  • Which graph shows the solution to the system of linear inequalities? ​
    9·1 answer
  • Https://brainly.com/question/22830500 <br><br> go to this pleaseee i need help
    9·2 answers
  • What is the perimeter of nadia 's square
    12·1 answer
  • FIND THE SURFACE AREA OF THE HEMISPHERE. PLEASE HELP AND SHOW WORK
    14·1 answer
  • 1 3 x+ - 6 y = - 2/3 * x + 3
    6·1 answer
  • In the United States, 51% of all children get an allowance and 34% of all children get an allowance and do household chores. Wha
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!