Get your Paper done by Experts

Online Assignment Help and Writing Services.

JAVA PROGRAMMING


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 internet account number (integer number), usage (integer number) and cost (double number) for N customers.

 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 internet usage for N customers
2. Calculate, store and display the cost for all customers
3. Display all account numbers which have over 10 GB usage
4. Find and display the account number with the highest cost
5. Find and display the account number with the lowest usage
6. Sort and display the cost in ascending order
7. Search and display the accounts which have usage equal to the given usage
8. Exit from the application
The application should display the message “Thank you for using this application” and your student id number and then exit from the application.

Program design
You may use any design that meets the specification. However, a good design will adhere to the following guidelines:
•             be logically correct
•             be easy to read and maintain
•             be well-designed
•             use a UML activity diagram
•             use appropriate classes, methods and fields