Write a subroutine that will output the volume of a fish tank. The program should take in the length, depth and height from the user and then pass all three values into a function that calculates the volume.
That function calculates the volume in litres by multiplying the length by depth by height and then dividing by 1000. It then returns this value and it is outputted to the screen.