Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Due: Friday, January 25 by 11:59 PM Overview Design a program that will act as a

ID: 2363702 • Letter: D

Question

Due: Friday, January 25 by 11:59 PM Overview Design a program that will act as a compound interest calculator. It will calculate the future value of an account after a 4 year period with a fixed interest rate. The program should: Prompt the user for the initial investment amount for the account Prompt the user for the annual interest rate Use the initial investment and interest rate to calculate the future value of the account: Value for year 1 = initial investment + (initial investment * interest rate / 100) Value for year 2 = Value for year 1 + (Value for year 1 * interest rate / 100) Value for year 3 = Value for year 2 + (Value for year 2 * interest rate / 100) Value for year 4 = Value for year 3 + (Value for year 3 * interest rate / 100) Display the future value of the account (ie. the Value for year 4) Follow the sample output for the details on how the output should look. Processing Requirements At the top of your C++ source code, include a documentation box that resembles the following: /*************************************************************** ***************************************************************/ Include the following lines of code BELOW the documentation box: #include #include using namespace std; Use type float or double for all of the the numeric values. Use meaningful variable names. You may assume that the interest rate is entered as a percentage. For example, if the interest rate is 5%, the user will enter 5 or 5.0. Make sure and test your program with values other than the ones supplied in the sample output. Hand in a copy of your source code on blackboard. Sample Output: A couple of runs of the program might resemble the following: Run 1: Enter an amount to invest: 5000 Enter an annual interest rate: 6.2 ************************************** * Investment Result * ************************************** Initial Amount: 5000 Interest Rate: 6.2 Final Value: 6360.16 Run 2: Enter an amount to invest: 1200.25 Enter an annual interest rate: 4 ************************************** * Investment Result * ************************************** Initial Amount: 1200.25 Interest Rate: 4 Final Value: 1404.12

Explanation / Answer

please reduce question size

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote