You can put this solution on YOUR website! I'm assuming the diameter is 8 cm and the height is 12 cm. So if the diameter is 8 cm, then the radius is 4 cm.
Start with the volume of a cone formula.
Plug in and
Replace with (note: Use more digits of to get better accuracy).
Square to get
Multiply and to get (this figure is approximate).
Multiply and to get (again, this is approximate).
Multiply and to get
So the volume of the cone with radius and height is approximately cubic centimeters.