Question: The original program was def main(): Print(this program calculates the future value) Print(of a ten year investment ) Principal =eval(input(enter the initial principal: )) Apr=
12. Write an improved version of the future value program from Chapter 2, Your program will prompt the user for the amount of the investment, the interest rate, and the number of years of the investment. The program will then output a nicely formatted table that tracks the value of the investment year by year. Your output might look something like this annualized Year Value 0 $2000.00 1 $2200.00 2 $2420.00 3 $2662.00 4 $2928.20 5 $3221.02 6 $3542.12 $3897.43
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
