Mother baked $$40$$ cookies. She gave $$8$$ cookies to her friend and packed the rest equally into bottles. She put $$4$$ cookies in each bottle. How many bottles did she use? 
选项为:A:$$7$$  B:$$8$$  C:$$9$$  D:$$10$$  请回答其中一个选项.