The entry to close the expense accounts includes:
O a debit to Dividends and credits to the respective expense accounts.
O debits to the respective expense accounts and a credit to Retained Earnings.
O a debit to Retained Earnings and credits to the respective expense accounts.
O debits to the respective expense accounts and a credit to Dividends.