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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started