Under the periodic inventory​ system, which of the following entries is prepared at the end of the accounting​ period?
A. debit Purchases and credit Cost of Goods Sold
B. debit Cost of Goods Sold and credit Inventory
C. debit Cost of Goods Sold and credit Purchases
D. B and C