“And” and “or” (cont.)
nConsider:
n (5 == 4) && ????
n (5 != 4) || ????
nDoes it matter what the second operands are? nThis can protect against runtime errors such as an attempt to divide by zero.
nExample: (x == 0) || (y/x < 10)
n       (x != 0) && (y/x < 10)