PWP Exp3
PWP Exp3
Exp3_st2_05
Exp3_st4_05
Exp3_st5_05
# area of cylinder = 2 · π · r · (r + h)
# volume of cylinder = π · r2 · h
import math
radius = float(input("Enter radius of Cylinder : "))
height = float(input("Enter height of Cylinder : "))
print("The Area of Cylinder is : ",2 * math.pi * radius *
(radius + height),"Sq.units")
print("The volume of Cylinder is :", math.pi * radius ** 2 *
height)
Exp3_st7_05