Nicole has a cabinet in the shape of a right rectangular prism. The volume of the cabinet is 24 cubic feet. If the cabinet covers a floor space of 12 square feet, how tall is the cabinet?