Extend Exercise P10.3 by supplying a drawHouse method in which you can specify the position and size.

Question:

Extend Exercise P10.3 by supplying a drawHouse method in which you can specify the position and size. Then populate your frame with a few houses of different sizes.


Data from Exercise P10.3

Write a program that draws a picture of a house. It could be as simple as the accompanying figure, or if you like, make it more elaborate (3-D, skyscraper, marble columns in the entryway, whatever).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: