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
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
Get step-by-step solutions from verified subject matter experts
