Chapter 15. Using Conditionals

 < Free Open Study > 

cc2e.com/1538

Contents

  • if Statements page 355

  • case Statements page 361

Related Topics

  • Taming deep nesting: Section 19.4

  • General control issues: Chapter 19

  • Code with loops: Chapter 16

  • Straight-line code: Chapter 14

  • Relationship between data types and control structures: Section 10.7

A conditional is a statement that controls the execution of other statements; execution of the other statements is "conditioned" on statements such as if, else, case, and switch. Although it makes sense logically to refer to loop controls such as while and for as conditionals too, by convention they've been treated separately. Chapter 16, "Controlling Loops," will examine while and for statements.

 < Free Open Study > 


Code Complete
Code Complete: A Practical Handbook of Software Construction, Second Edition
ISBN: 0735619670
EAN: 2147483647
Year: 2003
Pages: 334

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net