What is control flow statement?
It decide which statement is executes, how many times it's runs, which order have to runs
What are the types of control flow statement?
- Decision making statement
- Looping statement
- Jumping statement
What is Decision making statement?
Decision making statement is take a decision based on the condition
What are the type of decision making statement ?
- If statement
- Else statement
- Else if statement
- Switch statement
What is if statement?
It executes, when if condition is true.
What is else statement?
It executes, when if condition is false.
What is else if statement?
If we want to check multiple conditions we can use else if statement.
Top comments (0)