The volume of a hexagonal prism is expressed as:
[tex] \frac{3 \sqrt{3}}{2}*a^{2}*h[/tex]
a = the base's edge length
h = the prism's height
[tex]\frac{3 \sqrt{3}}{2}*(3)^{2}*7[/tex]
[tex]\frac{3 \sqrt{3}}{2}*9*7[/tex]
[tex]163.6788013152589042[/tex]
To the nearest cubic centimeter, the volume is 164 cm^3