Problem

(Program) a. Write, compile, and run a C++ program that calculates and displays the amou...

(Program) a. Write, compile, and run a C++ program that calculates and displays the amount of money available in a bank account that initially has $1000 deposited and earns interest at the rate of 3% a year. Your program should display the amount available at the end of each year for a period of 10 years. Use the relationship that the money available at the end of each year = the amount of money in the account at the start of the year + .03 × the amount available at the start of the year.

b. Modify the program written for Exercise 12a to prompt the user for the amount of money initially deposited in the account.

c. Modify the program written for Exercise 12a to prompt the user for both the amount o money initially deposited and the number of years to be displayed.

d. Modify the program written for Exercise 12a to prompt the user for the amount of money initially deposited, the interest rate to be used, and the number of years to be displayed.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 5.3