Answer:

The peak of the roof is at (X=235, Y=100).

Draw the Tree

So far the program completes two of the tasks. It starts the graphics system, and draws a house. If you want, you can type the program in just as it is to see it working. (It is a good idea to run incomplete programs to see if they are correct so far. Our program should have correctly completed two of the four tasks.)

The next task is to draw the tree. The tree will be to the right of the house. It will have a two lines for the trunk, and a circle for the leaves.

QUESTION 19:

Think in general about how the "draw the tree" step will look like.