What did you try so far? Where did you see problems? How does your sketch look like?
Did you find any relations between the different parameters of the cylinder? Hint: I would try to express the radii as function of the height. And the volume as function of the radii and the height. If you have that, it is a simple exercise to find the maximal volume, which depends on one parameter only.