At the time the $400 petty cash fund is being replenished, the company's accountant finds vouchers totaling $340 and petty cash of
$50. Which of the following is recorded when replenishing the petty cash fund?
A. Debit cash $350
B. Debit various expenses $350
C. Credit cash $340
D. Debit cash over and short $10
E. Credit petty cash $340