Question: C++ Using a loop, accept a starting balance as input from users for an investment, continuously prompting users for the investment until they enter a

C++

Using a loop, accept a starting balance as input from users for an investment, continuously prompting users for the investment until they enter a value greater than zero.

Using a separate loop, produce a table of values showing the year, interest gained that year, and the closing balance for that year. Assume a 5% annual interest rate and an investment period of 10 years.

Be sure to name all variables and constants properly as per the style guide

You must include complete program documentation:

Block comment at the top of your code with Application Author, Application Name, Date of Creation, and a detailed Description

Single line comments describing each variable/constant

Block comments calling attention to your input/processing/output sections

Other single line comments as necessary

C++ Using a loop, accept a starting balance as input from users

CAUsersAUMDesktopMPROG1710MWeekFivelBarlowlceFive.exe Please enter the starting balance of your investment: $1000.00 Balance Year Interest $50.00 $1050.00 $52.50 $1102.50 $55.12 $1157.62 $57.88 $1215.51 $1276.28 $60.78 $63.81 $1340.10 $67.00 $1407.10 $70.36 $1477.46 $1551.33 $73.87 $1628.89 $77.57 10 Press any key to continue

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!