Use logical operators (&&, ||) rather than arithmetic operators (&, |) where appropriate.