To find the length of the fountain, we can use the formula for the volume of a rectangular prism:
\[ \text{Volume} = \text{length} \times \text{width} \times \text{height} \]
In this case, we know the volume is 840 cubic feet, the width is 12 feet, and the height is 5 feet.
Let's denote the length as \(L\). The formula can be rearranged to solve for \(L\):
\[ L = \frac{\text{Volume}}{\text{width} \times \text{height}} \]
Substituting in the known values:
\[ L = \frac{840}{12 \times 5} \]
Calculating the denominator:
\[ 12 \times 5 = 60 \]
Now, substitute this back into the equation for \(L\):
\[ L = \frac{840}{60} \]
Calculating the length:
\[ L = 14 \]
So, the length of the fountain is \(14\) feet.
The correct response is:
14 ft.