View the step-by-step solution to:

Question

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

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

• -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents