th = new centigrade(); th = new fahrenheit(); th->set(f); f = th->get();
For
thermometer* th, *th1; float f;
slide
:
Abstract system -- thermometers