Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions