Write a turtle graphics program that draws a city skyline similar to the one shown in Figure

Question:

Write a turtle graphics program that draws a city skyline similar to the one shown in Figure 5-33. The program’s overall task is to draw an outline of some city buildings against a night sky. Modularize the program by writing functions that perform the following tasks:

• Draw the outline of buildings.

• Draw some windows on the buildings.

• Use randomly placed dots as the stars (make sure the stars appear on the sky, not on the buildings).Figure 5-33 City skyline

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

Step by Step Answer:

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