Decision Making
2. Two-way Decisions
Answer:
On.
Two-way Decisions
The windshield wipers are controlled with an ON-OFF switch. The flowchart at right shows how this decision is made.
Start at the top of the chart then follow the line to the question:
is it raining?
The answer is either true or false.
- If the answer is true,
- follow the line labeled True,
- perform the instructions in the box "wipers on",
- follow the line to "continue".
- If the answer is false,
- follow the line labeled False,
- perform the instructions in the box "wipers off",
- follow the line to "continue".
Question 2:
How many ways can you go from "start" to "continue"?