Question: I need this is in Dr Java. Lab 07 Triangle Maker 9000! Objective: Write a program that takes in a positive number and draws a

I need this is in Dr Java.  I need this is in Dr Java. Lab 07 Triangle Maker

Lab 07 Triangle Maker 9000! Objective: Write a program that takes in a positive number and draws a horizontal triangle of asterisks (*). The inputted number represents the size of the triangle, or in other words the number of asterisks at the peak. It starts out by increasing the number of asterisks at each line until it reaches the size of the triangle and then decreases the number of triangles at each line. Example Dialog: Welcome to Triangle Maker 9000! Enter the size of the triangle. DONE Lab Report Questions: 1. Draw a flow chart for the solution 2. When is it more appropriate to use a for-loop over a while-loop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!