Answer:
$19
Step-by-step explanation:
If each person paid $9 , amount spent = $9 x 3
= $27 since they were three that went for the cake and coffee .
Given the total cost of the coffee was $8,
Cost of cake = $27 - $8
= $19
The total cost of the cake was $19