Write a python program to find the volume of the pepsi present in the can which is in the shape of cylinder accepting the radius and height of the can from user.(Note :Apply float input and display Radius ,Height, Volume of Pepsi in can)
(V = pi r^2 h )

Respuesta :

Answer:

r=float(input("Enter radius: "))

h=float(input("Enter height: "))

v=3.14*r**2*h

print(r)

print(h)

print(v)

This is the answer, hope it helped!