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 the interest rate and the output is the number of years for the investment to double. Please use the starting interest rate as $10000.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
