Question: Create a java program that performs the following in a class named Lab3L1 and a package named lab3L1: Don't forget your header! Write a method

 Create a java program that performs the following in a class

Create a java program that performs the following in a class named Lab3L1 and a package named lab3L1: Don't forget your header! Write a method named printRectangle that prints out a 54 rectangle: Write a method named printTriangle that prints out a triangle like the following (It's easier to start from the bottom): Write the main method. It should print out two houses with blank line in between them. Submit your java file as Lab3L1

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!