Write a program to guage the rate of inflation for teh past year.The program asks for the price of an item both one year ago andtoday. It estimates the inflation rate as the difference inprice divided by the year-ago price. The program should allowthe user to repeat this calculation as often as the userwishes. Define a function to compute the rate ofinflation. The rate of inflation rate should be a value oftype double giving the rate as a percentage.