Question: Activity #3: Project: Lab04c Download the file DrawShapes.java. Run the program and examine the code. The program prints a triangle (right triangle) as shown in
Activity #3: Project: Lab04c Download the file DrawShapes.java. Run the program and examine the code. The program prints a triangle (right triangle) as shown in Sample outputl. Revise the program by adding nested loops to print a triangle as shown in Sample output 2 Sample outputl: This program prints a triangle How many lines should the triangle have? 4 A Sample output2: This program prints a triangle. How many lines should the triangle have? 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
