For this case we have by definition that the volume of a cylinder is given by:
Where we have to:
A: It is the radius of the cylinder
h: It is the height of the cylinder
To find the volume of a cylinder we must have the radius and the height. In an equivalent way we can have the diameter, the radius is obtained by dividing the diameter by 2.
Answer: