Answer:

(10 + 2) / (3 + 3)  =  12 / (3 + 3)  =  12 / 6  =  2
--------                    -------
do first                    do next

Miles per Gallon

Problems asking for "miles per gallon" or "dollars per hour" or "pounds per calorie" are asking for the first value (say miles) to be divided by the second value (say gallon). Sometimes the two values are not given directly--so you must do subtraction or addition before doing the division for the "per".

QUESTION 16:

When the gas tank of an automobile was first filled the odometer read 53,438.5 miles. When the tank was next filled the odometer read 53,659.2 miles and needed 8.23 gallons of gasoline.

Examine the following program. Will it correctly calculate miles per gallon?

' Miles per Gallon
'
PRINT "miles per gallon =", 53659.2 - 53438.5 / 8.23
END