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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started