Programming Assignment #1
CS 2390 - Winter 1995
Multiples Counting
DUE FEBRUARY 2 AT START OF CLASS (BEFORE MIDTERM)
For this assignment, you are to build two new kinds of Counts:
Your interface should look something like this:

The right window is the primary Count. It has no decrement button. The user can increment and reset the count.
The left window is the MultiplesCount. The base (and the labels Count: and Base:) appear when the window opens and do not change. Whenever the primary Count displays a multiple of the base, the Count in MultiplesCount should increment. When the primary Count is reset, the MultiplesCount should also reset.
In the pictured example, the primary Count has been incremented to 10. Two multiples of 4 have been encountered along the way (4 and 8) so the MultiplesCount has a count of 2 displayed, as well as its base (4).
This example was started with the code:
PrimaryCount new openOnBase: 4.