1. Airgead Banking wants a screen to display with the following information:
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.
Figure: see image.
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.
Figure: see image.
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:
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.
Month | Opening Amount | Deposited Amount | $ Total | $ Interest | Closing Balance |
1 | 1.00 | 50.00 | 51.00 | 0.21 | 51.21 |
2 | 51.21 | 50.00 | 101.21 | 0.42 | 101.63 |
3 | 101.63 | 50.00 | 151.63 | 0.63 | 152.27 |
4 | 152.27 | 50.00 | 202.27 | 0.84 | 203.11 |
5 | 203.11 | 50.00 | 253.11 | 1.05 | 254.16 |
... | ... | ... | ... | ... | ... |
59 | 3,287.68 | 50.00 | 3,337.68 | 13.91 | 3,351.58 |
60 | 3,351.58 | 50.00 | 3,401.58 | 14.17 | 3,415.76 |
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.