We start with a review of the types of program we have already written.
Here are the notes.
In this lecture we look at how methods can be used to break a problem into subproblems which are easier to solve.
An example is the StairClimber problem.An exercise: write a program that will get a robot to pick up a rectangle of beepers.
Hint: see if you can use any methods. Try and break the problem into smaller chunks, and make each of these chunks a method. Then write the code assuming these methods exist and finally write the methods themselves.