The rate of inflation is a measure of how fast prices are rising in an…