Answer and Explanation:
The computation of the ending inventory for the year 2021, 2022 and 2023 is shown in the attachment below
It is to be divided into two parts
1. Inventory converted to the base year in which the base year is considered by taking the cost index
2. Inventory converted to cash in which the inventory converted to the base year, cost index is considered so that the inventory converted to cash could come plus the value of the inventory using the LIFO method also comes