Flow of control:
- Flow of control means, the order in which statements are executed in a program.
- The statements in a program will be executed in different ways based on requirement.
- This type of flow of statements execution is called Flow of Control.
1. Sequential statements
- Statements ll executes top to bottom, means one by one.
2. Conditional Statements
- Based on condition statements ll execute.
3. Looping Statements
- Based on condition statements ll executes repeatedly and randomly.
Decision making statements :
- if
- if else
- if else if (nested if else)
- switch
Looping statements:
- while
- do while
- for
Other statements :
- break
- continue
- return
Thanks for your time.
- Nireekshan