Practice with Relational and Logical Operators

Try these exercises for more practice with relational and logical operators.

6. Conclusion

This tutorial went through comparison and logical operators belonging to the Boolean type, as well as truth tables and using Booleans for program flow control.

You can learn more about other data types in our "Understanding Data Types" tutorial, and can read about conditional statements in our "How To Write Conditional Statements" tutorial.