6 Control Statements: Part 2

Objectives

In this chapter you’ll:

  • Learn the essentials of counter-controlled iteration.

  • Use the for and dowhile iteration statements to execute statements in a program repeatedly.

  • Understand multiple selection using the switch selection statement.

  • Use the break and continue program-control statements to alter the flow of control.

  • Use the logical operators to form compound conditions in control statements.

  • Understand short-circuit evaluation of the conditional && and || operators.

  • Understand the representational errors associated with using floating-point data types to hold monetary values.

  • See a summary of structured programming and C#’s control statements

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

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