Joshua should continue continue buying the coffee until the marginal benefit equals to the marginal cost.
The marginal benefit simply means the maximum amount that a consumer is willing to pay for an additional good or service.
From the complete information, Joshua should keep buying coffee through the evening until the marginal benefit of purchasing one more coffee equals the marginal cost.
Learn more about marginal benefit on:
https://brainly.com/question/11937697