The inflation rate is the percentage change in prices of a basket of goods or…