5 Control Statements: Part 2; Logical Operators
In this chapter you’ll:
Learn the essentials of counter-controlled iteration.
whileiteration statements to execute statements in a program repeatedly.
Understand multiple selection using the
continueprogram-control statements to alter the flow of control.
Use the logical operators to form compound conditions in control statements.
Understand the representational errors associated with using floating-point data types to hold monetary values.
Understand some of the challenges of processing monetary amounts as we begin building a
DollarAmountclass, which uses integers and integer arithmetic to represent and manipulate ...
Get C++ How to Program, 10/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.