A rectangular prism has a volume of 300 ft^3. If the base measures 5 ft by 8 ft, what is the height of the prism?