Your logic in the public void setCurrentTemperature(double currentTemperature) is disturbing one
u just check the method by putting the values which are giving u will see none of the codition is...
Type: Posts; User: dude001
Your logic in the public void setCurrentTemperature(double currentTemperature) is disturbing one
u just check the method by putting the values which are giving u will see none of the codition is...
In the main file
house.advanceMinute(); should be house.advanceOneMinute();
--- Update ---
after solving it your code is working properly