var temperature = 20;
var itsRaining = false;
var minutes;
if (itsRaining || temperature<0 || temperature>35) {
minutes=0;
}
else if (temperature==20) {
minutes=20;
}
else {
minutes=20-Math.abs(20-temperature);
}
var temperature = 20;
var itsRaining = false;
var minutes;
if (itsRaining || temperature<0 || temperature>35) {
minutes=0;
}
else if (temperature==20) {
minutes=20;
}
else {
minutes=20-Math.abs(20-temperature);
}