Question: A. Create a program that allows a user to input customer records (ID number, first name, last name, and balance owed) and save each record

A. Create a program that allows a user to input customer records (ID number, first name, last name, and balance owed) and save each record to a file. Save the program as WriteCustomerList.java. When you execute the program, be sure to enter multiple records that have the same last name because you will search for repeated first names in part d of this exercise.

B. Write an application that reads the file created by the WriteCustomerList application and displays the records. Save the file as DisplaySavedCustomerList.java.

C. Write an application that allows you to enter any ID number, reads the customer data file created in Exercise "a", and displays the data for the customer. Display an appropriate message if the ID number cannot be found in the input file. Save the file as DisplaySelectedCustomer.java

D. Write an application that allows you to enter any last name and display all the data for the customers with the given last name. Display an appropriate message if the name cannot be found in the input file. Save the file asDisplaySelectedCustomersByName.java.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!