The options of choosing one of the functions: Fix deposit Cancel Request for user’s input for the principal of savings and number of years of saving Based on Equation 1.0, process the user inputs with the mathematical formula correctly. Display the expected output correctly
[in java]
- You are working in the information technology department of a financial institute. You are required to develop a Java Program to assist the customer service department to provide good quality of services to the customer. Fix deposit is one of the most commonly asked services. Therefore, you are asked to develop a calculator for fix deposit to be included in the ATM display. The available options for ATM display is Fix Deposit and Cancel.
When different option is chosen, different inputs from a user are required. Figure 6 shows the expected outputs on the ATM display. When the option Cancel is chosen, the user will exit from the system.
Fix Deposit: Annual interest (%) : 3.0 Principal of saving (RM):Z Number of years of saving (n): Total savings (RM):
|
figure 6
Based on Figure 6, the annual interest given by the bank is 3% and will be displayed on ATM screen. Let represents the amount of money in your saving account at the end of n years in the bank account and the calculation of is shown in Equation 1.0.
Pn = 1.03 x (Principal)n
Equation 1.0
For an ATM user, they are required to key in the principal of saving and the number of years that they would like to deposit in order to know the total saving. Based on the given values of principal and number of years, the number of total savings will be displayed on ATM screen based on Equation 1.0. While developing the source code, you need to consider that the only inputs by using the keypad of ATM are numbers.
Based on your creativity, design the program so that it can perform functions as follows:
- The options of choosing one of the functions:
- Fix deposit
- Cancel
- Request for user’s input for the principal of savings and number of years of saving
- Based on Equation 1.0, process the user inputs with the mathematical formula correctly.
- Display the expected output correctly
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)