Chapter 5 - VB.Net by Schneider
8
Example
•
To test if n falls between 2 and 5:
•
•
(2 < n ) And ( n < 5 )
•
•
A complete relational expression must be
on either side of the logical operators
And and Or.
And and Or are binary operators requiring two operands
Not is a unary operator requiring only one operand