Brenda's mother made cookies for 10 guests but 9 guests did not come. If she prepared 18 cookies and each guest had the same number of cookies how many did each of them have?
. 

There were 18 cookies in total. 

9 guests did not come, so that means that only 1 guest came. 

That means that the 1 guest who came would have gotten all 18 cookies.