Here is the variable legend:
Use this formula to calculate A: A = D * (1 + R/100)^Y
The Actual Future Amount (A) is = an Initial Deposit (D) after (Y) years at a Rate (R)
Draw a flowchart for an algorithm to produce the answers. Your flowchart should input S, D, and R. The algorithm should output S, D, R, A, and Y.
Use looping (i.e., "repetition" or "iteration") in your program. In other words, your flowchart should continue looping until the actual balance (A) is equal to or greater than the specified (S) future amount. NOTE: there is a faster way to complete this problem that doesn't require looping. However, while it's cool if you can figure that out (it's basically just a matter of using the right formula), that's not the point of this task. We want you to learn how to create a loop with a termination.
In addition to creating the flowchart, create a loop termination table with appropriate values (based on the example values below) to demonstrate that your algorithm uses a correct loop termination condition.
Example Inputs for Loop Termination Table:
S = 1300
D = 1000
R = 10
Recently Asked Questions
- How would you integrate Education, training, and security awareness into the collective business practices so that each aspect can be strategically placed and
- Please refer to the attachment to answer this question. This question was created from CH03.
- Discuss how cryptographic tools and techniques secure systems and data in the cloud. Discuss how Virtual environments, like any other environment, have their