1/31/00
COM1100 Winter2000 Yuhong Yin
12
Logic Operators
nIn addition to using simple relational expressions as condition, more complex conditions can be created using the logic operators AND, OR, and NOT. nIn C++, these operators are represented by the symbols &&, ||, and !, respectively