Definitions
- Flow of Control = which statement gets executed next? A.k.a., logic flow.
- Control Structures = statements which control logic flow
- Three categories of control structures:
- Sequence
- Selection
- Iteration (a.k.a., Loops)
Ch. 3, Selection Statements
The if statement allows you to choose between two paths of execution. Think,Fork in the Road.
- Selection Statements and Logic Operators
- Conditionals
- Selection Statements (Right-click the Raw button to download a file from Github)