If a pipe can fill a tank in 8 hours and another pipe can empty it in 12 hours, how long will it take to fill the tank if both pipes are opened together?
Answer: D. 16 hours
The net rate of filling the tank is 1/8 - 1/12 = 1/24. Therefore, it will take 24 hours to fill the tank.