Use your own boolean functions in If/Else
structure
Before starting this lab you should have read Chapter
6 in your text.
Section 6.1 in your text describes the need to
sometimes write your own functions when the built-in functions are
insufficient for the task. This is illustrated with trying to get a
ball to roll realistically as described on pp174-180 of your text.
Try that code out yourself.
Assignment: Implement code Pyramid Climb
described on p203 #4.
On pp 181-189 of your text you are given an example of
writing a boolean function (one that returns true or false) used to play a simple guessing game. Follow the instructions for
creating this game.
Assignment: Implement the Spanish
Vocabulary code as
described on p205 #11.