Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.
So if the value of the price index for the current year is equal to 165, and last year's value was 150, the rate would be calculated as: Inflation rate = (165 - 150) X100= 10.
wikiHow to Calculate CPI. Two Methods:Making a Sample Calculation of the CPICalculating Price Changes for a Single ItemCommunity Q&A. The Consumer Price Index (CPI) is a measure of changes in product costs over a specific time period, and it is used as both an indicator of the cost of living and economic growth.