Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started