1 / 10

Twice the Work

You finished the last module with a working Dog. It knows its own name and age, it makes a noise when you ask, and it prints nicely.

Now the program needs cats.

A cat has a name. A cat has an age. A cat gets a year older. Almost everything you already wrote is exactly what a cat needs.

Except that a cat does not say woof.