S = π × r × l, where r is the radius of the circle at the bottom of the cone and l is the slant height of the cone
For example, When r = 3, h = 4, the l = sqrt(r2 + l2) = 5. then S = π r l = π * 3 * 5 = 47.1239.