Question: Certificate of deposit (CD) calculator PYTHON CODE Create a CDCalculator application that prompts the user for the initial investment amount the annual interest rate, and
Certificate of deposit (CD) calculator PYTHON CODE
Create a CDCalculator application that prompts the user for the initial investment amount the annual interest rate, and the desired ending value and then displays the number of years required for the CD to be worth the specified ending value when interest is compounded annually. The CD value at the end of each year can be calculated by the formula CD Value = CD Value + (CD Value * Interest Rate). To determine the number of years it will take for the CD to reach the desired ending value, repeatedly execute the formula until the CD Value is greater than or equal to the ending value.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
