The following flowchart and pseudocode are associated with the same algorithm. The flowchart does not label Tasks A and B. Where should Task A and Task B be?
True
Condition
False
Task A?
Task B?
In pseudocode form, we have:
If the condition is true, then do Task A. Otherwise, do Task B.
a. The task on the left is B, and the task on the right is A.
b. Both tasks should be Task A.
c. The task on the left is A, and the one on the right is B.
d. Both tasks should be Task B.