Question: #1: declare two float variables for the old consumerprice index (cpi) and the new cpi #2: Read in two float values for the cpi and

#1: declare two float variables for the old consumerprice index (cpi) and the new cpi #2: Read in two float values for the cpi and store themin the variables #3: call the function calcInflationRate with the two cpis #4: print the results

Test for program to work: Enter the old and new consumer price indices: 238.170 239.513 Inflation rate is 0.563884

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!