user
Task: Find a real world example for this concept.

Conditional Statements

Answer:
assistant
A real-world example of a conditional statement is an alarm system in a building. In this system, if the doors or windows are opened when the alarm is armed, then an alarm will be triggered. This is an example of a conditional statement because the alarm will only be triggered if the condition of the doors or windows being opened is met.