Purpose of lesson
A previous lesson entitled Expressions and Operators explained many of the operators used in C++, Java, and C#.
However, that lesson did not explain the use of the relational and logical operators.
This lesson presents two programs that illustrate and explain the use of the following relational and logical operators:
Each of the programs is designed to solve the same problem. However, each of the programs uses a different formulation of the relational and logical operators to solve the problem.