Question: in python please Question 6 (10 points) Given the current price of a loaf of bread, an estimated yearly inflation rate, and a year (in

in python please in python please Question 6 (10 points) Given the current price of

Question 6 (10 points) Given the current price of a loaf of bread, an estimated yearly inflation rate, and a year (in the future), write a Python program to calculate the estimated future price of a loaf of bread. Assume the current year is a constant value. Also, assume the formula for the future price, FP, is given by FP = CP X (1 + R)(N-Y where CP is the current price, R is the yearly inflation rate, N is the future year, and Yis the current year. For example, assuming it is currently 2020 and a loaf of bread costs $5.00, if inflation is a yearly rate of 2.5%, then in the year 2030, a loaf of bread will likely cost $6.40. Sample input/output should be something like this: Enter current price: 5.00 Enter yearly inflation rate: 0.025 Enter future year: 2030 If inflation is .0250%, then bread will cost $6.40 in 2030

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!