ABSTRACT

The relational operators, described in the Chapter 7, are used to evaluate whether a condition relating two operands is true or false. However, by themselves, they serve only to test simple relationships. In programming, you often need to determine complex conditional expressions. For example, to determine if a user is a teenager you test whether the person is older than twelve years and younger than twenty years.