Cost of goods sold is given by:
A. Beginning inventory ? net purchases + ending inventory.
B. Beginning inventory + accounts payable ? net purchases.
C. Net purchases + ending inventory ? beginning inventory.
D. Net Purchases + beginning inventory ? ending inventory.