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 20Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started