# Program to determine the volume of a cylinder
r=input("Enter the Radius of the cylinder:")
h=input("Enter the Height of the cylinder:")
from math import pi
volume=pi*float(r)*float(r)*float(h)
print ("Volume of the cylinder is:",volume)
r=input("Enter the Radius of the cylinder:")
h=input("Enter the Height of the cylinder:")
from math import pi
volume=pi*float(r)*float(r)*float(h)
print ("Volume of the cylinder is:",volume)
Comments
Post a Comment