3 ms·
I you didn't understand what the GP said. You can certainly have a day when it is both sunny and cold, but the checks would look like this: if(isSunny){
by denis1 11y ago
I you didn't understand what the GP said. You can certainly have a day when it is both sunny and cold, but the checks would look like this:
if(isSunny){
putOnGlasses();
}
if(isCold) {
putOnCoat();
}
- Retric 11y agoDepends on context, in a game you might only send someone outside if it's sunny. So if it's !sunny your staying inside and you don't need a Coat.
- deleted 11y ago[deleted]