class centigrade : public thermometer {\c{\fbox{centigrade}}
public: centigrade() : thermometer(0) { } void set(float v) { temp = v + 273; } float get() { return temp - 273; } };
class centigrade : public thermometer {\c{\fbox{centigrade}}
public: centigrade() : thermometer(0) { } void set(float v) { temp = v + 273; } float get() { return temp - 273; } };