Question
I have the correct answer to my question but I need only need a Flowchart . ** Please only do the Flowhchart for a thumbs
I have the correct answer to my question but I need only need a Flowchart.
**Please only do the Flowhchart for a thumbs up or else I will give it a thumbs down.** I previously already asked this question and no one helped me with it.
Below is the correct answer and the instructions. **Again, I only require you to do the flowchart.* Thank you in advance to the person helping.
Design functional programs that comply with industry regulations and best practices
Scenario
Congratulations! You have completed the interview process and have been hired as a junior developer at Chada Tech. Now that you have successfully completed your new-hire orientation and have been introduced to the rest of your team, you are ready to jump in and start working on your first project.
You are asked to collaborate with Airgead Banking, one of Chada Techs clients. Airgead Banking is well known in the community. They often sponsor schools and have recently decided to partner with the local high school to develop a program that will teach students the concepts of fiscal responsibility (such as living within their means and spending less than they make) via an interactive system. The initial focus for this project will be on investing and the power of compound interest. You will develop an application that allows users to see how their investments will grow over time. Airgead Banking has provided you with a list of functional requirements that describe what they need their application to do.
Directions
Review the Airgead Banking App Functional Requirements, located in the Supporting Materials section. Create pseudocode or a flowchart to plan your coding project. Outline your code step-by-step so that you can use it as a guide when coding. This will be submitted along with your zipped application.
Do not write code yet. You will do that in Step 3. For this step, write your thoughts in English of what the program should do.
Dont be concerned with syntax, just list statements, each describing a single action.
List all steps.
Use proper naming conventions.
Keep it simpleuse only one statement per line.
Develop an object-oriented programming (OOP) application using secure and efficient C++ code. Make sure that your application:
Meets all specifications listed in the Airgead Banking App Functional Requirements
Follows best practices described in the Airgead Banking Standards document
Includes in-line comments
When your solution is finished, zip your project including all components (CPP, H, and any other files used).
Upload your zipped project file and pseudocode or flowchart to the project submission area.
What to Submit
Pseudocode or Flowchart Submit a pseudocode and flowchart that clearly outlines your program logic step-by-step.
Investment Code Submit your zipped project files, including all components (CPP, H, and any other files used). Be sure to include in-line comments.
Please see funtional requirements for code attached to question
Airgead Banking App Functional Requirements
1. Airgead Banking wants a screen to display with the following information:
Initial Investment Amount: The starting amount of your investment (a positive real number)
Monthly Deposit: The amount you plan to contribute to the growth of your investment each month (a positive real number)
Annual Interest (Compounded): Interest that is added to the principal sum of your investment and its previously accumulated interest (interest on interest and principal)
Number of Years: The number of years your investment has to grow
A way to see the data (for example: Press any key to continue) It should look something like the images below, with the ability to accept input. The first image shows what the user should see, and the second image shows the users values. Images attached below.
2. When the user continues, the console should display two static reports. One should show the year-end balances and year-end earned interest if no additional monthly deposits are made. The second should show the year-end balances and year-end earned interest based on the monthly deposit value that was input by the user ($50.00 in this example). The following is an example of what your interface might look like. It is in no way representative of what it must look like. Be creative and keep the user experience in mind when designing your solution. see attached below
3. The user should be able to test different monthly deposit amounts, interest rates, and lengths of time to see how increases and decreases impact their investment growth.
4. Your code will need to account for the following:
a. Month: The number of months based on user input in the Number of Years field
b. Opening Amount: The initial investment amount as well as the opening balance each month, which includes interest
c. Deposited Amount: The dollar amount the user plans to deposit each month. This value will be the same every month for the duration of the investment.
d. Total: The sum of the opening and deposited amounts
e. Interest: Money earned based on the annual interest rate input by the user. The interest based on an opening amount of $1 and a deposited amount of $50 with an interest rate of 5% compounded monthly is: (Opening Amount + Deposited Amount) * ((Interest Rate/100)/12) OR (1 + 50) * ((5/100)/12) Note: Dividing by 100 converts the interest rate percentage to a decimal. Note: 12 is the number of months in a year. Dividing the yearly amount by twelve gives monthly compounded interest.
f. Closing Balance: The sum of the total and interest amounts As an example, this chart illustrates how compound interest is calculated based on an initial investment amount of $1.00 with additional monthly deposits of $50.00 at 5% interest over 5 years. Note: Months 658 have been omitted, and these calculations are rounded to the nearest cent.
5. It is important to note that the institution not only adheres to banking best practices but also complies with industry regulations. To ensure consistency and quality, Airgead Banking requires that all developers follow a set of strict best practices rules so that all written code is transferable, readable, and reusable. You will find their standards document in the Supporting Materials section
**BELOW IS THE CORRECT ANSWER THAT WILL HELP YOU IN DRAWING THE FLOWCHART.**
invest.cpp
#include
using namespace std;
int main() { //Declare variables to store input float initInv, monDep, AnuInt, months, years; //Declare variables to store year end total amount, interest, and year end interest float totalAm, intAmt, yearTotInt;
//Display form to user cout
//Wait for input from user system("PAUSE");
//Get data from user cout > initInv; cout > monDep; cout > AnuInt; cout > years; months = years * 12;
//Wait for input from user system("PAUSE");
//Set total amount to initial investment to be updated totalAm = initInv;
//Display year data without monthly deposits cout
for (int i = 0; i
//Calculate yearly interest intAmt = (totalAm) * ((AnuInt / 100));
//Calculate year end total totalAm = totalAm + intAmt;
//Print results to table showcasing only two decimal points cout
}
//Set total amount to initial investment to be updated totalAm = initInv;
//Display year data with monthly deposits cout
for (int i = 0; i
//Set yearly interest to zero at the start of the year yearTotInt = 0;
for (int j = 0; j
//Calculate monthly interest intAmt = (totalAm + monDep) * ((AnuInt / 100) / 12);
//Calculate month end interest yearTotInt = yearTotInt + intAmt;
//Calculate month end total totalAm = totalAm + monDep + intAmt;
}
//Print results to table showcasing only two decimal points cout
}
return 0; }
output:
Initial Investment Amount: $1.00 Monthly Deposit: $50.00 Annual Interest: %5 Number of years: 5 Press any key to continue . . .
Balance and Interest Without Additional Monthly Deposits ============================================================== Year Year End Balance Year End Earned Interest -------------------------------------------------------------- 1 $1.05 $0.05 2 $1.10 $0.05 3 $1.16 $0.06 4 $1.22 $0.06 5 $1.28 $0.06
Balance and Interest With Additional Monthly Deposits ============================================================== Year Year End Balance Year End Earned Interest -------------------------------------------------------------- 1 $617.55 $16.55 2 $1265.65 $48.10 3 $1946.90 $81.25 4 $2663.01 $116.11 5 $3415.76 $152.75
--------------------------------
Data Input Initial Investment Amount: Monthly Deposit: Annual Interest: Number of years: Press any key to continue F********************************** F********* Data Input Initial Investment Amount: $1.00 Monthly Deposit: $50.00 Annual Interest: %5 Number of years: 5 Press any key to continue ... \begin{tabular}{|c|r|r|r|r|r|} \hline Month & Opening Amount & Deposited Amount & \multicolumn{1}{|c|}{$ Total } & \multicolumn{1}{|c|}{$ Interest } & \multicolumn{1}{c|}{ Closing Balance } \\ \hline 1 & 1.00 & 50.00 & 51.00 & 0.21 & 51.21 \\ \hline 2 & 51.21 & 50.00 & 101.21 & 0.42 & 101.63 \\ \hline 3 & 101.63 & 50.00 & 151.63 & 0.63 & 152.27 \\ \hline 4 & 152.27 & 50.00 & 202.27 & 0.84 & 203.11 \\ \hline 5 & 203.11 & 50.00 & 253.11 & 1.05 & 254.16 \\ \hline & & & & & \\ \hline 59 & 3,287.68 & 50.00 & 3,337.68 & 13.91 & 3,351.58 \\ \hline 60 & 3,351.58 & 50.00 & 3,401.58 & 14.17 & 3,415.76 \\ \hline \end{tabular}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