CSE 111, Fall 2004

Homework #12:

Hint 2


Think recursively (i.e., use top-down design and stepwise refinement!):

What is the base case? Answer: The marker beeper is at the origin.

So, what does Karel have to do? He has to make sure that there is exactly 1 beeper at the origin.

(Need another hint? Click here.)


Copyright © 2004 by William J. Rapaport (rapaport@cse.buffalo.edu)
file: 111F04/hw12hint2-2004-11-29.html