Answer:

A two-way choice is used for the final task.

Two-way Choice in the Final Task

repeated task flow chart

The final task is now slighly more complicated, as seen in the flowchart or in the program.

Initial Task

DO WHILE not yet done
  Repeated Task

LOOP

' Final Task
IF test-between-choices THEN
  Final Task A
ELSE
  Final Task B
END IF

END

When looked at in detail, small tasks often are made up of even smaller tasks that are put together with a framework of control structures.

Now say that with close examination, it looks like the Repeated Task should be performed by three smaller tasks executed in sequence, Repeated Task 1, Repeated Task 2, and Repeated Task 3.

QUESTION 13:

Fit the three smaller tasks of the Repeated Task into the program design.