Answer:
Technically none of them really did. However, the answer they are looking for is the Quartering Act.
Step-by-step explanation:
The Quartering Act of 1765 actually required British soldiers to be housed first in any barracks or military forts, then once those were filled they would pay the going rate for any inns or public housing. Only after those options had been exhausted could British soldiers be housed in colonists' private residences which the British army would still be forced to pay rent for. The Intolerable Acts of 1774 did include a second Quartering Act, which essentially said British troops must be provided proper housing.
The quartering act of 1774 in part read: "And be it further enacted by the authority aforesaid that, if it shall happen at any time that any officers or soldiers in H is Majesty's service shall remain within any of the said colonies without quarters for the space of twenty four hours after such quarters shall have been demanded, it shall and may be lawful for the governor of the province to order and direct such and so many uninhabited houses, outhouses, barns, or other buildings as he shall think necessary to be taken (making a reasonable allowance for the same) and make fit for the reception of such officers and soldiers, and to put and quarter such officers and soldiers therein for such time as he shall think proper."
They both essentially said the same thing.