Question: Write a Python program to calculate the Future Value ( FV ) of an investment where the interest rate ( r ) varies based on
Write a Python program to calculate the Future Value FV of an investment where the interest rate r varies based on the size of the Present Value PV The program should use nested ifelifelse statements to apply different interest rates and calculate the FV
FV formula: Use the below formula to compute and print the FV
Requirements:
Input: To receive the below two input values, use two input functions to prompt a user to enter below two numbers.
Present Value PV as a float.
Number of years n as an integer.
Condition:
If PV then r
If PV then r
If PV then r
Output: Calculate and print the Future Value FV using the formula
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
