The volume of a cylinder is given by:

where h is the height and r is the radius. In this case the height is 4.5 ft and since the diameter is 16 ft, this means that the radius is 8 ft. Plugging this values into the equation above we have:

Therefore the capacity of the swiming pool is:

cubic feet.