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.
Consumer Price Index (CPI) An economic indicator that measures the rate of inflation by tracking the cost of a fixed market basket of goods and services for urban consumers. The consumer price Index is reported as a total number and as the core CPI, which excludes the highly Volatile food and energy prices. CPI is used as the basis for benefit adjustments in government entitlement programs, such as social security, and for cost of living allowances (COLAS) for private-sector organizations.