Volume occupied by TWO cones = 2 x pi r^2 h/3
= 2 * pi (12^2) (12/3) = 1152 pi cm^3
Volume of cylinder = pi r^2 h
= pi 12^2 (24) = 3456 pi cm^3
Subtract the volume of the cones from the volume of the cylinder
3456 pi -1152 pi= 2304 pi cm^3 = 7238.23 cm^3