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.
Department of Labor. Consumer Price Index. The Consumer Price Index (CPI) , produced monthly by the US Department of Labor Bureau of Labor Statistics through an extensive, nationwide survey of businesses, is a measure of the average change over time in the prices paid by urban consumers for a market basket of consumer goods and services.