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.
CPI inflation (year-on-year) in the United States from 1914 to 2010. The inflation rate is widely calculated by calculating the movement or change in a price index, usually the consumer price index. The inflation rate is the percentage rate of change of a price index over time.