Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

What are the role of supervisors ?

Answered: 1 week ago

Question

3. How has Starbucks changed since its early days?

Answered: 1 week ago