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]
3 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]3 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
How far was it from the shore to the final location of the sub
laiz [17]
There's no picture for me to help you with 
5 0
3 years ago
Solve for y.<br> y y<br> —— = ——<br> P-9 P+9
Veronika [31]

9514 1404 393

Answer:

  y = 0

Step-by-step explanation:

Subtracting the right side gives ...

  \dfrac{y}{P-9}-\dfrac{y}{P+9}=0\\\\y\left(\dfrac{(P+9)-(P-9)}{P^2-81}\right)=0\\\\y\left(\dfrac{18}{P^2-81}\right)=0\\\\\boxed{y=0}

The factor multiplying y cannot be zero, so y must be zero.

5 0
3 years ago
The circumference of a circle is 50 inches. What is the radius?
GalinKa [24]

Answer:

The answer is 7.96 inches.

Step-by-step explanation:

radius= Circumference/ 2 Pi  = 50/2 3.14 = 7.96

7 0
3 years ago
Based on the theoretical probability, how many times would you expect to pick a yellow skittle if you pick 150 times?
Fudgin [204]

Answer:

why are you digging through skittles 150 times?

8 0
3 years ago
Read 2 more answers
Find the segment length indicated. Assume that lines which appear to be tangent
Jobisdone [24]

Answer:

its righties b

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • What times what equals -3 in decimal form?<br> PLZ help me
    5·2 answers
  • Emerson purchased a game that was on sale for 18% off. The sales tax in his county is 8%. Let y represent the original price of
    14·1 answer
  • If f(x)=3[x-2],what is f(5.9)?<br> 9 <br> 10<br> 11<br> 12
    10·2 answers
  • Please answer this it's pre-algebra I will give brainliest and thanks
    13·1 answer
  • Can someone help me get this problem will give brainliest to who ever gets it right and 100 points.
    8·1 answer
  • Click on the image of you can’t see the answers !
    8·1 answer
  • For what values of x is the trigonometric equation tan(x − 180°) − sin(x − 180°) = 0, where 0 ≤ x &lt; 360°, true?
    7·2 answers
  • The directions says determine weather each rate of change is consistent. If it is, find the rate of change and explain what it r
    10·2 answers
  • Solve the equation <br><br> 9x^2 - 64= 0<br><br> 9x^2 + 64= 0
    7·1 answer
  • here are the prices of 5 new bicycles in dollars 25,30,50,77,80. The standard deviation is about $26.If a 6th bike is added to t
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!