14.3. Save Your Money¶
For this assignment, we will practice writing a while
loop with a
selection construct.
Since you will be well paid after graduating from college, let’s say that you invest $1,000 at the beginning of each month. At the end of each month, you are paid interest on your investment. The interest rate paid depends on the account balance. The annual rate is
Note that these are annual interest rates, not monthly rates. Write a program that tracks the balance of the savings until it is at least 1 million dollars.
Complete the assignment using MATLAB Grader.