// A logical and in swift is "&&"
// A logical or in swift is "||"
//E.g.
if a > 0 && i == j || f < 3 {
...
}
(a && b) // AND
(a || b) // OR
(!a) // NOT
var a = 5, b = 6
print((a > 2) && (b >= 6)) // true
// logical AND
print(true && true) // true
print(true && false) // false
// logical OR
print(true || false) // true
// logical NOT
print(!true) // false