Answer:

A sensible order for the tasks is:

Computation Tasks:
  1. Ask the user for the data.
  2. Calculate mpg for first tank of regular gas.
  3. Calculate mpg for second tank of premium gas.
  4. Calculate the difference between mpg rates.
  5. Write out the result.

The Plan

flowchart

This is a good plan for the program. The program looks like this:

'Ask the user for the data.

'Calculate mpg for first tank of regular gas.

'Calculate mpg for second tank of premium gas.

'Calculate the difference between mpg rates.

'Write out the result.

END

These tasks can be completed in sequence. There is no need for a loop or for a two-way decision. The flowchart shows the sequential control structure of this program.



QUESTION 4:

Could the order of the second and third task be reversed?