The volume of a triangular prism with base area B and height h is Bh. Dean is camping out in his backyard in a tent shaped like a triangular prism. The floor of the tent is one side of the prism, which is 12 feet long. The entrance to the tent is the base of the prism, and it has an area of 24 square feet.
What is the volume of the tent?