subject

Scenario: You are to build a Java application that will implement the daily business of a small loan company, Midwest Loan. This company makes loans to individuals and allows those individuals to pay off those loans with monthly payments. They offer low-interest rates but do not allow early loan re-payment (i. e., each month’s loan payment will be the same).

Overall Program Usage Requirements:
• Your program will use a Menu system. The user will be a Loan company employee (you will not need a login, etc.). Using the menu system, the employee should be able to do the following major tasks all from a main menu:

1) Add a loan customer. This is a new customer who has taken out a new loan. Your application should be able to create as many new customers as the employee using the system wants.
2) Print the loan amortization table for any user stored in the system. Once this menu item is selected, the employee will see a list of all customers, then be prompted to enter a UserID to print the table for.
3) Exit the application.

Detailed requirements for each menu option:
Adding a Loan Customer:
• Your application should allow the employee to create as many new customers as needed. Remember that loan customers will NOT be using this system, only employees.
• Each new customer should have a unique ID number. Use an int to accomplish this.
• You will store the customer ID number, first name, last name, address, cell phone number, and age in a two-dim String array.
• You will store the customer ID number, loan amount, and loan interest rate (as a #.# number), and desired monthly payment amount in a two-dim double array.
o Notice that the idea here is that these two arrays "sync" up. The first customer in the information array corresponds to the first customer in the loan info array, and etc. HINT: Matching the String version of the customer ID and the double version in the loan array will take a little thought!
• You will have to collect this information from the console when the employee chooses to create a new customer.

Print the loan amortization table for any user stored in the system:
• You will print to the screen the customer IDs and Customer Name of each customer stored in the system if this menu option is used. The employee can then type in a number and hit enter, and the full loan amortization table will print for that customer. The application will then return to the main menu.
• After the employee enters a customer ID your code should behave in the following order:
1) First, you will invoke a method that you will create called loanLength( ). This loan will return back an int representing the number of months of the life of the loan. For example, some loans principals and monthly payments mean they will be done in 60 months, some in 72 months, etc. Your method will loop and simulate the loan and the monthly payments, counting the months until the balance reaches 0, then returns back that number of months of the life of the loan. You will need to pass some data to the method through its parameters for the user chosen so it can do this! I will let you decide what and how this data is passed.
2) Once you have the "life" of the loan in the number of months, create a new two-dim array who number of rows is the number of months in the loan. Populate/fill the columns of the two-dim array with each month’s information: Balance, interest on that balance for that month, monthly payment, new balance. The company calculates the new ending balance for that month as:

(current balance + interest accumulated) – monthly payment You are basically saving the amortization table into the two-dim array!

3) Once you have the two-dim array populated, pass it as a reference to a method called printAmortTable( ). The method will have a void return type. The method’s purpose is to print a professional looking amortization table using the information in the two-dim double array you pass to the method through its parameter. Use your .printf().
4) Once the overall printing is done, the program returns to the main menu.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 08:30
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
question
Computers and Technology, 24.06.2019 04:10
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
You know the right answer?
Scenario: You are to build a Java application that will implement the daily business of a small loan...
Questions
question
Mathematics, 23.04.2021 02:10
question
Mathematics, 23.04.2021 02:10
question
Mathematics, 23.04.2021 02:10
question
Chemistry, 23.04.2021 02:10
question
Mathematics, 23.04.2021 02:10
question
Social Studies, 23.04.2021 02:10
question
Mathematics, 23.04.2021 02:10
Questions on the website: 13722367