1. Increment Loops - Used for execution in set number of times.
2. Dynamic Loops - Used when loop will be executed until a condition is met.
- If Statement
- Do statement
- While statement
NOTE:
If
Condition(within the IF statement)
THEN (Withing the IF statement)
ELSE (Optional)
Do
Loop (within the DO statement)
Condition (within the DO statement)
While
Condition (within the WHILE statement)
Loop (Within the WHILE statement)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.