Which of the following accounts would be closed at the end of the year using the perpetual inventory​ system? A. Accounts Payable B. Merchandise Inventory C. Accounts Receivable D. Cost of Goods Sold