Question: Think we will keep this one simple... You will dreate a program will calculate the ending balance of Savings Account based upon an initial deposit,

Think we will keep this one simple...
You will dreate a program will calculate the ending balance of Savings Account based upon an initial deposit, an interest rate(calculated annually), and number of years invested.
That program will have three inputs (deposit, interest rate, years) which will be passed as arguments to a function that will calculate the yearly balances and the final balance.
Keep the formula for calcutating the annual interest simple, something like - deposit = deposit +(deposit * rate)
Your output should look like this: (user input is in red)
Investment Calculator
Please enter your intial deposit: 1000
Please enter the annual interest: (eg 0.10)0.10
Please enter years to invest: 10
Year 11100.00
Year 21210.00
Year 31331.00
Year 41464.10
Year 51610.51
Year 61771.56
Year 71948.72
Year 82143.59
Year 92357.95
Year 102593.74
Your ending balance after 10 years is \(\$ 2593.74\)
Think we will keep this one simple... You will

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!