Program Plan
1.One function is use to asks the user to enter the current price of an item and it's one year.
2.One function is use to calculate inflation rate for current year.
3.One function is use to calculate inflation rate for one year ago.
4.One function is use to display results.Calculating whether inflation rate is increasing or decreasing.
Program
Demonstrate the inflation rates for two successive years and check whether the inflation is increasing or decreasing.