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, 23.06.2019 04:31
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
question
Computers and Technology, 23.06.2019 20:00
What software programs are used to to create professional publication? a.) graphics programs b.) word processors c.) page layout programs d.) spreadsheet programs
Answers: 2
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, 26.10.2019 03:43
Questions on the website: 13722363