class centigrade extends thermometer { 
centigrade
public centigrade() { super(0); } public void set(float v) { temp = v + 273; } public float get() { return temp - 273; } };

slide: The centigrade class