6.7. Program Implementation - Final¶
Now that we have all the building blocks, lets give a name to the lines of code that do the work of drawing the house.
The instructions to goto
particular locations and drawWall
, drawDoor
, etc… have
all been moved into a procedure to make it more clear what the overall goal of the instructions
is. But, we have not given that procedure a name. Chose a name for the procedure that draws
the whole house and replace the _____________
below with your name. Make sure to replace
it in both the procedure definition and the procedure call.
Name the procedure that draws the house.
Before you keep reading...
Runestone Academy can only continue if we get support from individuals like you. As a student you are well aware of the high cost of textbooks. Our mission is to provide great books to you for free, but we ask that you consider a $10 donation, more if you can or less if $10 is a burden.