## Invitation to Computer Science 8th Edition

Use formula for time: time $=\frac{\text { mileage }}{\text { speed }}$
$$\begin{array}{l} \text{ Step 1 Get the values for mileage \mathbf{M} and average speed \mathbf{S} }\\ {\text { Step } 2 \text { Set value for flying time } t \text { to }[\mathrm{M} / \mathrm{S}]} \\ {\text { Step } 3 \text { Print the value of } t} \\ {\text { Step } 4 \text { Stop }}\end{array}$$