4 ms·
“the two ideas gave birth to the if statement that we know today: if (input less than waterleve) { turn motor on } else if (input less than waterleve)
by Someone 6y ago
“the two ideas gave birth to the if statement that we know today:
if (input less than waterleve) {
turn motor on
} else if (input less than waterleve) {
turn motor off
} else {
...
“
And to the classical copy-paste bug ;-)