- &&
and - true only if all are true, false if only one is false:
true && true // = true true && false // = false false && true // = false false && false // = false
- ||
or - true if only one is true, false only if all are false:
true || true // = true true || false // = true false || true // = true false || false // = false
- !
- not so !true = false and !false = true
Indeed. Computer programming is really automated logic, so understanding what you wrote here is really important.
ReplyDelete