Write a program in python to enter the radius and height of the cylinder and print the volume of cylinder.
Note- Volume=3.14*r*r*h
r=int(input("Enter the radius: "))
h=int(input("Enter the height: "))
volume=3.14*r*r*h
print("Volume of Cylinder is: ",volume)
Output:-
Enter the radius: 4
Enter the height: 5
Volume of Cylinder is: 251.20000000000002
0 Comments