The following is the adjusted trial balance as of December 31, 2019 of Martin Security Services, Inc.:
Accounts Cash Accounts Receivable Prepaid Instrance Office Supplies Land Building Accumulated Depreciation-Building Equipment Accumulated Depreciation-Equipment Accounts Payable Salaries Payable Unearned Revenue Mortgage Payable Common Stock Dividends Service Revenue Salaries Expense Depreciation Expense-Building and Equipment Supplies Expense Insurance Expense Utilities Expense Total Debit $18,00030,0009,0003,20045,000165,00088,00025,84063,0006,25015,00014,50023,000$505,790 Credit $12,0008,50012,0002,00025,000100,00021,290325,000$505,790
Prepare the closing entry for revenues. Omit explanation.
Definitions:
For Loop
A control flow statement that repeats a block of code a certain number of times, based on a given condition.
Executes
Refers to the process where a computer or program carries out the instructions in a command or script.
Do...while Loop
The do...while loop is a control flow statement that executes a block of code at least once before checking the condition at the end of the block to decide whether to continue executing.