Answer:
-14 gallon jugs
- 10 half-gallon jugs
Explanation:
I'm not an expert at solving these algebraically, so I'm going to do this the old-fashioned way: Guess and Check.
Lets sum up our information:
- He bought 19 gallons
- He bought those 19 gallons with 24 jugs
- There are half-gallon and full gallon jugs
We know that if he bought 24 full gallon jugs, he would have 24 gallons of milk, but he only has 19, so this is not the answer
We know that if he bought 23 full gallons jugs and one half-gallon jug, he would have 23.5 gallons of milk, but he only has 19 gallons of milk, so this is also not the answer.
We keep reducing the number of full gallon jugs and increasing the number of half-gallon jugs until we reach 19 gallons total.
After trying different combinations, we can figure out that he bought
-14 gallon jugs
- 10 half-gallon jugs