Kotlin has statements for determining what sections of the code will be executed next, during the runtime of a program. These statements are known as control flow statements.
These statments are:
- If-else
- When
- Loops
- for loops
- while loops
- do-while loops