Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I previously posted this question, but the code did not create the images below. I need these, not other rectangles or triangle shapes. Thank you!.

I previously posted this question, but the code did not create the images below. I need these, not other rectangles or triangle shapes. Thank you!.

image text in transcribed

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

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

LO3 Name the seven categories of HR functions.

Answered: 1 week ago

Question

1 . Television News channels importantance of our Life pattern ?

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago