1. Algorithm Development

Problem Decomposition:

data -> variables

outline, flowchart -> functions, code segments

test data -> check known results

Basic Programming Constructs (and related C keywords):

Sequence - order of execution (break, continue, return, goto)

Selection - selecting alternative code segments (if, else, switch, case, default)

Repetition - repeating a code segment (while, do, for)

Sequence Example

Repetition Example

Selection Example