1234
.if (temp > 45) population = base * 10; else population = base * 2;
population = (temp > 45) ? (base * 10) : (base * 2);