subject

Write a program that allows you to create a file of customers for a company. The first past of the program should create an empty file suitable for writing a three-digit ID number, six-character last name, and a five-digit zip code for each customer (fixed-length, text file). The second half of the program accept user input to populate the file. For this exercise, assume that the user will correctly enter the ID numbers and zip codes, but force the customer name to six characters if it is either too long or too short padding with spaces or truncating as needed. Issue an error message and do not save the record if the user tries to enter an ID number which has already been used. Save the program as CreateCustomerFile. java

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
What is the algorithm for building a binary tree program
Answers: 2
question
Computers and Technology, 22.06.2019 19:00
Stacy works as blank. the most important soft skill she needs for this role is blank.
Answers: 3
question
Computers and Technology, 23.06.2019 00:20
The open systems interconnection (osi) reference model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (wlan) communication protocols. details the advantages and disadvantages of various basic network cabling options.
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
You know the right answer?
Write a program that allows you to create a file of customers for a company. The first past of the p...
Questions
question
Mathematics, 02.02.2020 21:45
question
Mathematics, 02.02.2020 21:45
question
Mathematics, 02.02.2020 21:45