Answer:
$278,299
Explanation:
For computing the ending inventory first we have to determine the cost of goods available for sale which is shown below:
Beginning inventory $100,000
Inventory purchased $570,000
Freight  $7,600
Merchandise returned $3,300
Discount = ($570,000 -$3,300) × 2%
= $17,001
Now Cost of goods Available for sale is
= Opening inventory + purchase + freight - returned goods - discount
= $100,000 + $570,000 + $7,600 - $3,300 - $17,001
= $657,299
And, the cost of goods sold is $379,000
So, the ending inventory is
= $657,299 - $379,000
= $278,299