CMPSC 201

Ch. 3 Notes

Objective #1: Evaluate and use C++ assignment statements.

Objective #2: Identify and use accumulator statements.

Objective #3: Identify and use counter statements.

Objective #4: Use the incrementing and decrementing operators.

Objective #5: Use the common stream manipulators including setw, setprecision, setiosflags, dec, hex, and oct in order to format outputted data.

Objective #6: Use the common math library functions appropriately including sqrt, abs, fabs, pow, sin, log, floor, ceil, and exp.

Objective #7: Use the cast operators to explicitly perform type conversions when necessary.

Objective #8: Use the cin object to input data.

Objective #9: Declare and use constants appropriately.


CMPSC 201