Write a program allow us to update list of special customers


Problem: Java Programming

We will build a set of console-based programs that helps a grocery store keep track of its special customers and its product inventory. The inventory level for a product, like a bottle of soda, increases when a supplier delivers them. The level decreases when a customer purchases one or more of the product. We allow for customers to return some items for a refund. Occasionally, a product is recalled so we have to return some units back to the supplier for a reimbursement.

Main program I: allows us to add (or delete) products in our Application. We will create this program in class. We will use the program to create the Product file (ProdInv.dat) for the project.

Main program II: allow us to (create and) update our list of special Customers. Customers are given an ID number, so it easier to keep track of them. They are given a credit limit and start with no debt. Customer #0 is a "dummy" representing customers that are not in our frequent shopper program, so remain anonymous. The dummy has a $0 credit limit. You will use your program to create a file (Customer.dat) storing the following customer information:

IdNameDebtCredit Limit0Dummy$0.00$0.001Dan Daley$0.00$200.002Lex Luthor$0.00$100.003Lana Lane$0.00$300.004Peter Parker$0.00$50.005Ben Bradley$0.00$50.00

Main program III: is used to keep track of the activities for a single day. The program reads in the current product and customer information from the files. Then it will reflect the current activities:

• The program lists those items whose inventory is within 10% of its reorder point.
• 20 bars of soap are delivered and the supplier is paid.
• Lex Luthor buys 1/2 lb. of salami and a bottle of soda, if available.
• 30 bottles of soda are delivered and the supplier is paid.
• Peter Parker buys all of the milk that is in stock.
• Ben Bradley returns 2 bars of soap that he bought earlier.
• All of the remaining bread is thrown away.

The response should include a reference list. Double-space, using Times New Roman 12 pnt font, one-inch margins, and APA style of writing and citations.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a program allow us to update list of special customers
Reference No:- TGS03150437

Expected delivery within 24 Hours