You can modify a cylinder using the mouse.
There are three different ways to modify a cylinder:
The editing is automatic after the creation. You can also edit the primitive by clicking Edit in the Object panel.
Modifies the cylinder height by moving only one side.
Modifies the cylinder height by moving the two sides equally.
The height and the radius are modified equally by keeping the barycenter.