I really need some help to solve this problem:

A factory are going to to make cylindershaped cans. The sum of the diameter and height are 80 cm. which measures gives the greatest volume?

Im sorry for it's a repost but it'll be handed in on a couple of eight hours of beaty sleep. So it would mean the world to me if someone could help me.