To determine the cost of having 12 guests at the party, we can analyze the costs given for 4 and 8 guests to identify the pattern.
We have the following data:
- For 4 guests: $20
- For 8 guests: $40
Let's calculate the cost per guest:
-
For 4 guests: \[ \text{Cost per guest} = \frac{20}{4} = 5 \text{ dollars per guest} \]
-
For 8 guests: \[ \text{Cost per guest} = \frac{40}{8} = 5 \text{ dollars per guest} \]
From this, we can see that the cost per guest is consistent and equals $5.
Now, to find the cost for 12 guests: \[ \text{Cost for 12 guests} = 12 \times 5 = 60 \text{ dollars} \]
So the cost of having 12 guests at the party is $60, which corresponds to option B.
Thus, the answer is:
B: $60