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…”) 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. 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 6–58 have been omitted, and these calculations are rounded to the nearest cent.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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…”) 

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.

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

### Data Input Screen in an Investment Calculator Program

The following image displays a user interface for an investment calculator program that collects input from the user. The data input screen is designed to gather the necessary details to compute investment growth over time. 

#### Initial Screen (Before Input)
```
********** Data Input **********

Initial Investment Amount:
Monthly Deposit:
Annual Interest:
Number of years:
Press any key to continue . . .
```

#### Example of Completed Input Screen 
```
********** Data Input **********

Initial Investment Amount:    $1.00
Monthly Deposit:              $50.00
Annual Interest:                 5%
Number of years:               5
Press any key to continue . . .
```

### Explanation

1. **Initial Investment Amount:** 
   - This field prompts the user to enter the initial sum of money they plan to invest.
   
2. **Monthly Deposit:**
   - This field collects information on how much money the user will add to their investment on a monthly basis.
   
3. **Annual Interest:**
   - The user is prompted to enter the annual interest rate as a percentage, which indicates the growth rate of the investment.
   
4. **Number of Years:**
   - This input field is for the user to specify the total number of years the investment will be held or allowed to grow.

5. **Continuation Prompt:**
   - The screen instructs the user to press any key to proceed to the next step once they have entered all required information.

### Graphs or Diagrams
There are no graphs or diagrams in the provided images. The images solely show the text-based user interface for data input within an investment calculator program.

This educational tool is designed to help users understand how to input their investment data accurately to forecast their investment growth over a specified period.
Transcribed Image Text:### Data Input Screen in an Investment Calculator Program The following image displays a user interface for an investment calculator program that collects input from the user. The data input screen is designed to gather the necessary details to compute investment growth over time. #### Initial Screen (Before Input) ``` ********** Data Input ********** Initial Investment Amount: Monthly Deposit: Annual Interest: Number of years: Press any key to continue . . . ``` #### Example of Completed Input Screen ``` ********** Data Input ********** Initial Investment Amount: $1.00 Monthly Deposit: $50.00 Annual Interest: 5% Number of years: 5 Press any key to continue . . . ``` ### Explanation 1. **Initial Investment Amount:** - This field prompts the user to enter the initial sum of money they plan to invest. 2. **Monthly Deposit:** - This field collects information on how much money the user will add to their investment on a monthly basis. 3. **Annual Interest:** - The user is prompted to enter the annual interest rate as a percentage, which indicates the growth rate of the investment. 4. **Number of Years:** - This input field is for the user to specify the total number of years the investment will be held or allowed to grow. 5. **Continuation Prompt:** - The screen instructs the user to press any key to proceed to the next step once they have entered all required information. ### Graphs or Diagrams There are no graphs or diagrams in the provided images. The images solely show the text-based user interface for data input within an investment calculator program. This educational tool is designed to help users understand how to input their investment data accurately to forecast their investment growth over a specified period.
### Compound Interest: A Comparison

In this lesson, we will explore the growth of an account balance over time with and without additional monthly deposits. The data presented here highlights the impact of compound interest, both in scenarios with no additional deposits and with consistent monthly deposits.

#### Balance and Interest Without Additional Monthly Deposits

The table below shows the year-end balances and the earnings from interest over five years when no additional monthly deposits are made:

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

From this table, we can observe the following:
- The initial balance increases modestly each year.
- The yearly earned interest grows slightly over time due to compounding, showing gradual but steady growth.

#### Balance and Interest With Additional Monthly Deposits

The next table demonstrates the impact of making regular additional monthly deposits, significantly boosting the year-end balances and the corresponding earned interest:

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

Key insights from this second table include:
- Substantial growth in the year-end balances due to the combination of compound interest and consistent monthly deposits.
- The yearly earned interest increases at a faster rate when compared to the scenario without additional deposits, illustrating the power of regular contributions alongside compounding.

In conclusion, consistently adding to your savings not only increases your balance but also boosts the amount of interest earned, demonstrating the powerful effect of compound interest when combined with disciplined additional contributions.
Transcribed Image Text:### Compound Interest: A Comparison In this lesson, we will explore the growth of an account balance over time with and without additional monthly deposits. The data presented here highlights the impact of compound interest, both in scenarios with no additional deposits and with consistent monthly deposits. #### Balance and Interest Without Additional Monthly Deposits The table below shows the year-end balances and the earnings from interest over five years when no additional monthly deposits are made: | 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 | From this table, we can observe the following: - The initial balance increases modestly each year. - The yearly earned interest grows slightly over time due to compounding, showing gradual but steady growth. #### Balance and Interest With Additional Monthly Deposits The next table demonstrates the impact of making regular additional monthly deposits, significantly boosting the year-end balances and the corresponding earned interest: | 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 | Key insights from this second table include: - Substantial growth in the year-end balances due to the combination of compound interest and consistent monthly deposits. - The yearly earned interest increases at a faster rate when compared to the scenario without additional deposits, illustrating the power of regular contributions alongside compounding. In conclusion, consistently adding to your savings not only increases your balance but also boosts the amount of interest earned, demonstrating the powerful effect of compound interest when combined with disciplined additional contributions.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Concept of memory addresses in pointers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education