Question: If you could help me modify this code in python that would be great thank you Activity 1 . 5 Modify the program below to
If you could help me modify this code in python that would be great thank you
Activity
Modify the program below to demonstrate the following:
Modify the code so the user enters the present value, annual interest rate and number of years vested
Display the future value of vested money based on user entered data as a monetary value ie $
# Activity
# This script asks the user for the desired future
# value of their investment, the annaul interest rate
# and the number of years the investment with appreciate
# and tells the user how much they need to deposit
# Get the desired future value.
futurevalue float input Enter the desired future value:
# Get the annual interest rate.
rate floatinput Enter the annual interest rate:
# Get the number of years that the money will appreciate.
years int input Enter the number of years the money will grow:
# Calculate the amount needed to deposit.
presentvalue futurevalue rate
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
