To calculate the volume of a right cylinder we use the formula:
[tex]V=\pi\cdot r^2\cdot h[/tex]We know the diameter (8in) which is twice the radius (r). Then, the radius of the cylinder is 4in. The height (h) is 6 in. Then, for the volume:
[tex]\begin{gathered} V=\pi\cdot(4in)^2\cdot6in \\ V=16in^2\cdot6in\cdot\pi \\ V=96\pi^{}in^3 \end{gathered}[/tex]