A company checks written for $600 for rent expense cleared the bank correctly but the company accountant incorrectly recorded the check for $60.

The journal entry to correct this error would be:

a. debit cash, $540; credit rent expense, $540

b. debit rent expense, $600; credit cash, $600

c. no journal entry required

d. debit rent expense, $540; credit cash $540