Select the Arc tool and draw the first arc segment. To add another segment to it, start drawing it in one of the endpoints of the already existing one. The direction in which you first drag the mouse determines which way the curve bows. Join the resulting objects to make up a cylinder. It is used, if you want to create a group of several objects, and all of the objects have the same properties, such as fill color, line color, line thickness.
Combined objects take less space when saved.
Select the objects, you would like to join and combine them. This way is quite simple and discriptive. However it has a drawback. The ellips of the upper cap is not well formed and will look more like two arcs. Let's try the second way.