Professional Documents
Culture Documents
Control Structure
Control Structure
Control structure
Control structure is a
structure of statements
in programming that
allows the programmer
to control the flow of a
program.
SEQUENCE
SELECTION
SEQUENCE
SELECTION
sequence
linear execution of codes within a
program
statements are executed one by one
selection
program have to make a decision
based on the situation given.
If...Then...Else statement
DIFFERENT
sequence
Execute
statement one
by one in liner
different
Execution flow
selection
Execute
different
statement for
different
condition
To implement
decision
making
WHICH ONE