Its don’t break the normal flow of execution of code
Ex: variable declarations, assignment statements, etc.
3 types of control statements
1. conditional/selection statement:
It executes code based on the result of a condition
- if else,
- else if ladder,
- switch case
2. Jumping/ control transfer statement:
It make the control to jump/transfer directly from one place ot another:
- function call
3. Looping/iterative statement:
It executes a set of statements repeatedly, which means if you want to execute a single or set of statements repeatedly take the help of a looping statement.
- do while
- for in.