When using a perpetual inventory system, how should the entry to journalize the cost of goods sold be recorded?

a. Debit Cost of Goods Sold and credit Sales
b. Debit Inventory and credit Cost of Goods Sold
c. No entry is made to journalize the cost of goods sold.
d. Debit Cost of Goods Sold and credit Inventory