Problem Description
In this assignment, you are to develop a basic text-based drawing application. A sample drawing is
shown below.
It has
• Borders which form a rectangle around a drawing area of 20 by 30 (drawn with the asterisk character in this example)
• Two lines (the ground and the lamp post)
• One circle (the lamp)
• Two rectangles (the house walls and the door)
• One triangle (the roof)
• A string of text (“FOR SALE” displayed vertically)
Initially, your main task is to develop the classes whose instances are objects that make up a drawing.
Essentially, they are classes that represent windows and shapes.
You will then develop a menu program that allows the user to progressively create a drawing (by adding
shapes and removing shapes), save the definition of the drawing in a text file and read it back to reconstruct it.
#Sales Offer!| Get upto 25% Off: