FAR- Inventory Valuation Method

I am not comprehending Becker's answer to this question, can someone please explain this to me. Thank you CPA-00075 Under US GAAP during periods of inflation, a perpetual inventory system would result in the same dollar amount of ending inventory as a periodic inventory system under which of the following inventory valuation method? FIFO LIFO A. No No B. Yes No C. Yes Yes D. No Yes Answer: B