In this lesson
SequenceControl Structure
Selection Control Structure
If-then, If-then-else
Repetition Control Structure
do-until, do-while
3.
JavaScript Data Types
Aprogram control flow allows
you to direct how the script will
perform the JavaScript
commands in response to the
inputs of your program.
4.
Sequence Control Structure
Itshows an action sequencetially
followed by another action. It is executed
in specific order.
All the programs
That were presented
Before in this lesson
Are using sequence
Control structure
5.
Selection Control Structure
Ittells the program which action to
perform based on a certain condition.
A condition when evaluates generates
either TRUE or FALSE. Here are some
ways that control structure is
represented.
If-then structure
If-then-else structure
Repetition Control Structure
Alsoknown as Iteration Control
Structure is used when one or more
actions are to be executed repeatedly
based on a certain conditions. Here
are some ways that repetition control
structure is represented.
do-until structure
Do-while structure