@[email protected] to Science [email protected]English • 6 days agoif statement == falsei.imgflip.comimagemessage-square39fedilinkarrow-up1242arrow-down118
arrow-up1224arrow-down1imageif statement == falsei.imgflip.com@[email protected] to Science [email protected]English • 6 days agomessage-square39fedilink
minus-square@dohpaz42linkEnglish5•6 days agoAn if statement with one condition is an if and only if statement. The moment you add a second (or more) condition (regardless of && or ||), then it’s no longer if and only if.
An
if
statement with one condition is an if and only if statement. The moment you add a second (or more) condition (regardless of&&
or||
), then it’s no longer if and only if.