Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ ---- You will develop an application that allows users to see how their investments will grow over time. Airgead Banking has provided you with

C++ ---- 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. ** PLEASE MAKE IT A BIT DIFFERENT WITH THE SAME EXECUTION, RE-WORD COMMENTS ALSO TO MAKE IT UNIQUE****

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. 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.

image text in transcribed

image text in transcribed

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

image text in transcribed

****Here's The Feedback I got from it from my code*** ""Feedback: You have a lot of great code here with a few issues. First, your program didn't perform any input validation. You also have a missed requirement to allow the user to input new values and redisplay the charts. Finally, your code is not modularized at all, either in functions or classes."" CODE:

// 2/4/2023

#include

#include

using namespace std;

int main()

{

// Declare variables to store the inputs

float initial_investment, monthly_deposit, annual_interest_rate;

int years;

// Declare variables to store year-end balance, interest, and year-end interest

float year_end_balance, year_end_interest, monthly_interest;

// Display form to user

cout

cout

cout

cout

cin >> initial_investment;

cout

cin >> monthly_deposit;

cout

cin >> annual_interest_rate;

cout

cin >> years;

// Calculate the number of months

int months = years * 12;

// Displays the year data without monthly deposits

cout

cout

cout

cout

year_end_balance = initial_investment;

for (int i = 0; i

year_end_interest = year_end_balance * (annual_interest_rate / 100);

year_end_balance = year_end_balance + year_end_interest;

cout

}

// Displays the year data with monthly deposits

cout

cout

cout

cout

year_end_balance = initial_investment;

for (int i = 0; i

year_end_interest = 0;

for (int j = 0; j

monthly_interest = (year_end_balance + monthly_deposit) * (annual_interest_rate / 100 / 12);

year_end_interest = year_end_interest + monthly_interest;

year_end_balance = year_end_balance + monthly_deposit + monthly_interest;

}

cout

}

return 0;

}

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 user's values. 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. 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 6-58 have been omitted, and these calculations are rounded to the nearest cent

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions