CMPSC 201 Class #4 Lecture
(if time) Discuss the following demo programs:
- Ch. 4 Demo #1
- to illustrate
how C++ treats arithmetic and Boolean expressions. The program also illustrate
the use of a couple relational and logical operators.
- Ch. 4 Demo #2
- to illustrate
the use of common logical and relational operators.
- Ch. 4 Demo #3
- to illustrate
the use of the if statement
- Ch. 4 Demo #4
- to illustrate
common errors related to the use of the C++ if statement