Question: Write a program that uses a while loop to determine how long it takes for an investment to double at a given interest rate. The
Write a program that uses a while loop to determine how long it takes for an investment to double at a given interest rate. The input will be an annualized interest rate and the initial investment amount and the output is the number of years it takes an investment to double.
Step by Step Solution
3.49 Rating (152 Votes )
There are 3 Steps involved in it
Heres a Python program that uses a while loop to calculate the number of years it take... View full answer
Get step-by-step solutions from verified subject matter experts
