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 11:30
Me dangers of social media and the internetexplain what each means: 1) social media and phones have become an addiction.2) outside people have access to you all the time.3) cyberstalking4) cyberbullying5) catphishing6) viruses7) identity theft8) credit card fraud9) hacking10) money schemes
Answers: 1
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
question
Computers and Technology, 24.06.2019 21:40
Clunker motors inc. is recalling all vehicles in its extravagant line from model years 1999—2002 as well as all vehicles in its guzzler line from model years 2004—2007. a boolean variable named recalled has been declared. given a variable modelyear and a string modelname, write a statement that assigns true to recalled if the values of modelyear and modelname match the recall details and assigns false otherwise.
Answers: 2
question
Computers and Technology, 25.06.2019 06:30
How are slides deleted from a presentation?
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, 18.07.2020 06:01
question
Mathematics, 18.07.2020 06:01
Questions on the website: 13722360