Ó 2002 Prentice Hall                                                                     2
From Idea to Algorithm: Stepwise Refinement
* Fill in the crucial details.
*
If guess = number, then say so and quit;
if guess < number, then say guess is too small;
if guess> number, then say guess is too high.