a company has a credit balance of $600 in its allowance for doubtful accounts before the year-end adjustment for bad debts. the amount of credit sales for the year is $80,000, and the year-end balance in accounts receivable is $15,000. assume that the expected credit losses are estimated to be 9% of accounts receivable.a. What is (1) bad debt expense for the year and (2) the ending balance in the allowance for doubtful accounts?1. Bad Debt Expense $____2. Allowance for doubtful accounts $_____b. How would the answer to part a change (if at all) if the company had a debit balance of $480 in its allowance for doubtful accounts before any adjustment?1. Bad Debt Expense $____2. Allowance for doubtful accounts $_____