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.
DEFINITION of 'Consumer Price Index-CPI'. A measure that examines the weighted average of prices of a basket of consumer goods and services, such as transportation, food and medical care.The CPI is calculated by taking price changes for each item in the predetermined basket of goods and averaging them; the goods are weighted according to their importance.EFINITION of 'Consumer Price Index-CPI'. A measure that examines the weighted average of prices of a basket of consumer goods and services, such as transportation, food and medical care.