You are previewing Code Complete, Second Edition.

Code Complete, Second Edition

Cover of Code Complete, Second Edition by Steve McConnell Published by Microsoft Press
O'Reilly logo

Chapter 15. Using Conditionals


Related Topics

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, will examine while and for statements.

if Statements

Depending on the ...

The best content for your career. Discover unlimited learning on demand for around $1/day.