Printing value of volume and surface area
Console . Write ( " Volume ▁ Of ▁ Cone ▁ : ▁ " ) ; Console . WriteLine ( volume ( radius , height ) ) ; Console . Write ( " Surface ▁ Area ▁ Of ▁ Cone ▁ : ▁ " ) ; Console . WriteLine ( surface_area ( radius , slant_height ) ) ; } }