Use the following information to calculate ending inventory on (a) a LIFO basis, (b) a FIFO basis, and (c) an average-cost basis. Assume a perpetual inventory system.
May l Beginning inventory 70 units @ $14
9 Purchases 30 units @ $16
17 Sales 25 units
22 Purchases 15 units @ $18
27 Sales 40 units