Write a program that creates a file of items carried

Assignment Help JAVA Programming
Reference no: EM132101090

Please use java to give the solutions,thanks.

a. Write a program that allows you to create a file of customers for a company. The first part of the program should create an empty file suitable for writing a three-digit ID number, six-character last name, and five-digit zip code for each customer.

The second half of the program accepts user input to populate the file. For this exercise, assume that the user will correctly enter ID numbers and zip codes, but force the customer name to seven characters if it is too long or too short.

Issue an error message, nd do not save the records if the user tries to save a record with an ID number that has already been used. Save the program as CreateCustomerFile.java.

b. Write a program that creates a file of items carried by the company. Include a three-digit item number and up to a 20-character description for each item. Issue an error message if the user tries to store an item number that has already been used. Save the program as CreateItemFile.java.

c. Write an application that takes customer orders. Allow a user to enter a customer number and item ordered. Display an error message if the customer number does not exist in the customer file or the item does not exist in the item file; otherwise, display all the customer information and item information.

Reference no: EM132101090

Questions Cloud

Adequate consideration for new noncompete agreement : Lumber Company argued that Houser's continued employment was adequate consideration for the new noncompete agreement.
Marketing planning worth the effort : Is marketing planning worth the effort, especially in the current rapidy changing external/macro environment?
Have you been involved in any six-sigma project : Have you been involved in any six-sigma project? If yes, what kind of project was it? Was it considered a success?
Perpetual inventory system versus a periodic inventory : How are discounts recorded in a perpetual inventory system versus a periodic inventory system?
Write a program that creates a file of items carried : Write a program that creates a file of items carried by the company. Include a three-digit item number and up to a 20-character description for each item.
Computer screenings are used exclusive of traditional method : The potential for an organization to miss out on a promising employee is much greater when computer screenings are used exclusive of more traditional methods
Retrospect methodology of gathering feedback : What it the retrospect methodology of gathering feedback. And how it should be used
Highest paid officers for walmart last year : What is the total compensation for the three highest paid officers for Walmart last year(including the value of stock options and other benefits)?
What was the court reasoning : Brad Gupta formed two companies, Ameriquest Holdings and Ananya Aviation, What was the court's reasoning?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd