Question: When would you use a conditional statement?
- When you want to reuse a set of statements multiple times.
- When you want your code to choose between multiple options.
- When you want to group data together.
- When you want to loop through a group of statement.
Answer: The correct answer of the above question is Option B:When you want your code to choose between multiple options.