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.
So you only shower with 1° cold water? Or could the int maybe represent something like 40°C?
You’re getting down voted, but you’re right lol
Yeah, don’t know why people would describe temperature on a 0-1 scale
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.
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()