Step 4 - Finish the house
Complete the house by adding in the rectangle and triangle. Here are the relevant coordinates:
- Rectangle: use
ColorGray()
, draw at 300,300, with a width of 200, and a height of 200. - Triangle: use
ColorRed()
, draw with points at 250,300, and 400,150, and 550,300.
Compile and run your program and check that you can see the house.