Sequence Two-way Decision Loop
You wish to find out if "premium" gasoline improves your car's miles per gallon. You drive your car on a tank of regular gas, and then on a tank of premium gas and compare the miles per gallon for each tank. You want a computer program that will do the calculations.
(Of course you would have to do the experiment many times to be sure of your results. For simplicity, let us do the experiment just once.)
Assume that the tank starts out full of regular gas. To calculate the miles per gallon rates you collect data from your car:
You Gather this data:
Now all you need is a plan for the computer program. Here is a list of tasks that the program needs to perform. The tasks are not in order!
Computation Tasks:
Arrange the tasks into a sensible order. (There are several correct answers.)