Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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. image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions