How many flat surfaces does a cylinder have?

How many flat surfaces does a cylinder have?