Lesson 5. if Statements and Program Decisions

In this lesson, you will learn how to use the if statement. You will see how to handle errors, use Boolean logic and will extend our example to enable it to recover from bad input.

Get SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION 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.