55 POINTS, IN JAVAIn this program, you need to make an upright tree that contains stars *. Your output should look like:
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *
* * * * * * * * *

Hint: You will need to create a variable that controls how far the * is from edge of the console. That variable should change size each iteration through the outer loop!

Answers

Answer 1
Answer:

public class JavaApplication82 {

   

   public static void main(String[] args) {

       

       for (int i = 1; i <= 9; i++){

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

               System.out.print("*");

           }

           System.out.println("");

           

       }

   }

   

}

This works for me.


Related Questions

Which of the following would NOT be considered a cause of technological progress?A. scientific research B. innovation C. patents D. large markets
How can you save a Word document in various formats?​\
What is information technology?
The primary benefit to the use of overlays in animation is that animators are able to
One part of a development team has completed an algorithm. Why is it important to share it with others on the team? Choose all that apply. If it is easy to understand, no one will dispute what is included in the algorithm. It will give everyone else an opportunity to comment on the process described in the algorithm. It will serve as the starting point for all future activity. It communicates the consecutive instructions of the solution.

The three finger sign in hunger games what does it mean?

Answers

The little girl, Ruth I believe, she died and she was from distract 3 so that's why katniss showed the 3 finger sign.
he people of District 12 do not clap; instead, they are silent. They then give Katniss the three fingered salute of the district, a gesture rarely used, meaning thanks, admiration, and good-bye to a loved one.

Sending electronic documents is a way to contribute to _____ computing. electronic brown hardcopy green

Answers

The word that is being looked for in this problem, which is among the words presented as options together with the problem, is most probably and most likely to be the word green.

Sending electronic documents is a way to contribute to green computing. Green computing is all about efficiency and an approach in not contributing to the pollution already present in the world. Through sending electronic documents, we reduce the number of papers used which in turn lowers the number of trees to be cut down, even if just by a few numbers.

How many bits must be “flipped” (i.e., changed from 0 to 1 or from 1 to 0) in order to capitalize a lowercase ‘a’ that’s represented in ASCII?

Answers

Only one.
00100001 is 'A'
01100001 is 'a'

The word part attached to the beginning of a word root in order to modify its meaning is called a(n): A. Suffix B. Prefix C. Combining Form D. Infix

Answers

Hello, answer is on the photo, make sure to double check the answer. https://t.ly/FGxVc

A slide _____ is a special animation effect used to progress from one slide to the next slide in a slide show.

Answers

A slide *transition* is the word you're looking for, well I mean, if you're using powerpoint it is.

Your answer is transition

Select all of the answers that apply.Which of the following are warning signs that a volcano will soon erupt?

earthquakes or tremors
ground swelling
color changes
smoke plumes

Answers

The temperature of rocks in the volcanic cone increase. Changes in shape of the volcanic cone. Most of the time the cone starts to swell or bulge just before a eruption. A number of increases in small earthquakes or tremors around a volcano Emission of gas and steam from a volcano.

Answer:

earthquakes or tremors

ground swelling

smoke Plumes

Explanation:

I read the page