One step, one way. Trace.

Exercise: modify program: change rectangle base & step (less, equal, or more one of the other)