GeoGebra has tools that can be used to draw cylinders in 3D space and compute their volumes: 
If you know the radius and height, use Item 4.
If you know the center of the base, center of the top, and the radius, use Item 4.
     GeoGebra Instruction 1
Algebra     View     and         Graphics     View     under         View     in         Menu.         Graphics     View     by         using         either         the         Circle     with     Center     through     Point Circle:     Center     &     Radius Cylinder(Circle, Height)
in Algebra View.         
Circle field and the desired value of the height         in the Height field.         3D Graphics. The volume of the cylinder is         displayed in Algebra View.         Example 1
Draw a cylinder in GeoGebra with a radius of 3 and a height of 4. 
Follow Item 4 for solving this exercise. Draw a circle with the given radius in Graphics View. Then use  
Cylinder(Circle, Height)
where you type in the name of the circle and the given height.
     GeoGebra Instruction 2
Algebra     View     and         3D     Graphics     under         View     in         Menu.         Cylinder 3D     Graphics     and         type         the         desired         radius.         3D     Graphics.         The         volume         of         the         cylinder         can         be         read         in         Algebra     View.         Cylinder(Point, Point, Radius)
in Algebra View and type the coordinates of the center of the cylinder’s base         in the first Point field, the coordinates of the center of the cylinder’s         top in the second Point field, and the value of the radius in the Radius     field. 
Example 2
Draw a cylinder in GeoGebra with (2, 1, 0) as the center of the base, (0, 0, 5) as the center of the top, and a radius of 3 
Follow Item 4 and type
Cylinder(Point, Point, Radius)
in Algebra View, using the given values in the fields where they belong.