That’s enough of other people’s classes; let’s make some of our own. We are going to start
by creating a class that does the job of converting measurements from one unit to another
by multiplying a value by a scale factor.
We will give the class the catchy nameScaleConverter. Here is the listing for the
whole class, plus a few lines of code to test it: