A cylindrical can of cleaner holds 1 L of liquid. What is

its height if the diameter of the base is 10 cm?

How do I do this? I need to show my work AND I need to understand how to do it.

volume of cylinder = pi(r^2)h

so

1000 = pi(5^2)h
h = 1000/(25pi)
=