Question: Design, write and compile, and execute a C++ program that calculates and displays the amount of money, A , available in N years when an

Design, write and compile, and execute a C++ program that calculates and displays the amount of money, A, available in N years when an initial deposit of X dollars is deposited in a bank account paying an annual interest rate of R percent. Use the relationship that A = X(1.0 + R/100)N. The program should prompt the user to enter appropriate values and use cin statements to accept the data. Use statements such as Enter the amount of the initial deposit in constructing your prompts. Verify the operation of your program by calculating, by hand and with your program, the amount of money available for the following test cases:

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!