Control Statements
Control statements are used to control the flow of execution of a program. They are used to alter the flow of the program based on a certain condition.
Control Structures are of 3 types:
- Sequential
- The statements are executed in the order they appear.
- Conditional
- The statements are executed based on a condition.
- If-else
- Switch
- Break and Continue
- Goto
- Iterative