Instructions
while temperature < comfortable_temperature: temperature += 1
Interpretation
while temperature < freezing: on toggle(temperature += boiling)
Thermostatic shower mixers are not a thing where you live?
Not common in the US I believe, or at least I haven’t heard or seen one of them.
You just gotta “guess” what’s correct and then feel the water coming out
Weird, they are super common here in the Netherlands. Not expensive either. You just set it to a temperature and it’ll keep it constant.
Shouldn’t it be a float that goes between 0 and 1 instead of an int. In this situation they’d be the same thing, considering 1 would be max lol.
Where I live, I have to spend 500 years to either get volcano-like water, or Ice Age water. Moving it one atom completely changes the temperature.
How using someone else’s shower works:
int temperature = rand()