Question: please can you solve it by using dev c++ A person invests $1000.00 in a savings account yielding 5% interest. Assuming that all interest is

 please can you solve it by using dev c++ A person
please can you solve it by using dev c++

A person invests $1000.00 in a savings account yielding 5% interest. Assuming that all interest is left on deposit in the account, calculate and print the amount of money in the account at the end of each year for 10 years. Use the following formula for determining these amounts: a - P(1 + r)" P& Pow (1+rgn) where p is the original amount invested (i.e., the principal) - r is the annual interest rate *n is the number of years a is the amount on deposit at the end of the nth year. Year 1 2 3 4 Amount on deposit 1850.00 1102.50 1157.63 1215.51 1276.28 1340.10 1407.10 1477.46 1551.33 1628.89 Note: Use Standard library function std::pow. See next slide for std::pow example. 16 7 8 9 10

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 Databases Questions!