Question: Please use C and graphics.h. Write a program that draws the house illustrated in the diagram, using the following constants to specify the various dimensions:
Please use C and graphics.h. Write a program that draws the house illustrated in the diagram, using the following constants to specify the various dimensions:
#define HouseWidth1.5 #define HouseHeight2.0 #define HouseArch1.0 #define TowerWidth 0.4 #define TowerHeight2.3 #define TowerArch 0.6 #define DoorWidth 0.3 #define DoorHeight0.5 #define DoorArch 0.25
#define WindowLevel1.4 #define WindowSize 0.3 The constants whose names end in Arch specify the height of the triangular portion on top of the rectangular base, the windows are assumed to be square and therefore have only thesingle dimension WindowSizze.
like windows...with an utter desperation of soul... From Poe's description, you might image a house that looks something like this: Write a program that draws the house ilhistrated in the diagram, using the following constants to specify the various dimensions: #define HouseWidth 1.5 #deinfe HouseHeight 20 like windows...with an utter desperation of soul... From Poe's description, you might image a house that looks something like this: Write a program that draws the house ilhistrated in the diagram, using the following constants to specify the various dimensions: #define HouseWidth 1.5 #deinfe HouseHeight 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
