In order to calculate the volume of a pyramid, we can use the formula below:

Where A is the base area and h is the height.
Since the base is a square, the area is the side length squared:
![A=12^2=144\text{ m^^b2}]()
Now, calculating the volume, we have:
![\begin{gathered} V=(1)/(3)\cdot144\cdot5\\ \\ V=240\text{ m^^b3} \end{gathered}]()
Therefore the correct option is A.