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.
Inflation is usually measured by the consumer price index (CPI), which describes the prices in a given month as a percentage of prices in a base period. If the CPI has a base month of January 2000, then by definition the CPI for that month is 100.