Control Structures   

 

Forms

Structured programming requires only three forms of control:

· Sequence

· Selection

· Iteration


Sequence

Sequence is implemented when one statement follows another, in order.
 


Selection

Selection is implemented in one of three ways:

· If/Then structure

· If/Then/Else structure

· Select Case structure

 


Repetition

Repetition (iteration) is implemented in one of six ways:

· While structure

· Do While/Loop structure

· Do Until/Loop structure

· Do/Loop While structure

· Do/Loop Until structure

· For/Next structure