5. Control Statements: Part 2; Logical Operators


Objectives

In this chapter you’ll:

• Use for and do...while to execute statements in a program repeatedly.

• Implement multiple selection using the switch selection statement.

• Learn how break and continue alter the flow of control.

• Use the logical operators to form complex conditional expressions in control statements.

• Learn to avoid the consequences of confusing the equality and assignment operators.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.159.136