Question: PYTHON Write a program that, once executed, asks user to input the following: Investment term in years Yearly rate of return And then, based on
PYTHON
Write a program that, once executed, asks user to input the following:
- Investment term in years
- Yearly rate of return
And then, based on these two numbers, the program should print out how much initial investment is required to reach 1 million dollars. You may assume annual compounding (i.e., Present value = Future value / (1+)(1+r)t ). Basically, as the user of the program we'd like to know, based on how long we want to invest our money and the prevailing rate of return, how much initial investment is needed to reach 1 million dollars.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
