In this chapter you have learned how relational and logical operators can be used in programs. You have also learned how truth tables can be used to verify logical operations on different operands. We also discussed how precedence affects both types of operators. Finally, you have learned how the logical operators can be used to determine bitwise values on the operands. Although you might not need some of these techniques in your programs right now, you should tuck this information in the back of your head because the day may come when they provide an elegant solution to a vexing problem. |