Designed to test your understanding of arrays/arraylists, objects,

Document Preview:

Assessment details for ALL students Assessment item 2—Assignment 2 Due date: Thursday of Week 10 ASSESSMENT Weighting: 30% 2 Length: NA Objectives This assessment item is designed to test your understanding of arrays/arraylists, objects, classes, methods, sorting and searching. Assessment task Write a java application that allows the user to read, validate, store, display, sort and search the account number and balance for N bank customers. N should be declared as a constant and it should be equal to the largest digit of your student id number (e.g. if your ID number is S0159226 then N should be equal to 9 and you can declare it as final int N=9;). The account number and balance must be stored in two separate single dimension arrays/arrayLists (index 0 for customer 1 and index N-1 for customer N). The minimum and maximum account numbers which can be stored are 999 and 9999. The minimum and maximum account balances which can be stored are $1 and $100000. The account number and balance must be entered from the keyboard and a validation for minimum and maximum values must be done. Your application should display and execute a menu with the following options. A switch statement must be used to execute the following menu options. 1. Read, validate and store account number and balance for N customers 2. Display account number and balance for all customers 3. Display all account numbers which have $1 balance 4. Find and display the account balances which have below the average balance 5. Find and display the account number with the largest balance 6. Sort and display the account balances in descending order 7. Search and display the accounts which have balance equal to the given balance 8. Exit from application 1. Read, validate and store account number and balance for N customers This option reads account number and balance for all customers from the keyboard and stores them in two separate single dimension arrays/arrayLists. If the account number is less than 999 and…

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer