Let's modify the program from this section so that the user can supply the interest rate. For very small interest rates, it may take a very long time for the balance to double. Assume the user can't wait for more than twenty years. Stop adding interest when the balance has doubled or twenty years have elapsed.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here