Hemming Co. reported the following current-year purchases and sales for its only product.
Required
Hemming uses a periodic inventory system. Determine the costs assigned to ending inventory and to cost of goods sold using (a) FIFO and (b) LIFO. Compute the gross margin for each method. (Round amounts to cents.)