Problem 44618. surface areas of a cylinder

There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 calculate the total surface area of the cylinder. For any other option, compute the total area of both flat sides of the cylinder.