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, 21.06.2019 16:50
3.2.5 suppose that we have an estimate ahead of time of how often search keys are to be accessed in a bst, and the freedom to insert items in any order that we desire. should the keys be inserted into the tree in increasing order, decreasing order of likely frequency of access, or some other order? explain your answer.
Answers: 1
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 21:00
Will this setup result in what kathy wants to print?
Answers: 2
question
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
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, 19.11.2020 22:10
question
Biology, 19.11.2020 22:10
question
Health, 19.11.2020 22:10
question
Mathematics, 19.11.2020 22:10
question
History, 19.11.2020 22:10
question
Social Studies, 19.11.2020 22:10
Questions on the website: 13722367