Quote
1. Specifications
This coursework is required to simulate the operations of a wholesale company which buys products from suppliers (manufacturers or imports) and sells them to retailers. Every client (retailer or supplier) has contact information, such as name, address, contact person, and telephone number. It is assumed that each supplier provides one product, and every retailer can buy many items in one transaction. Suppose there are 5-10 products and each product has a purchase price and a selling price. Your system should hold stock amounts of products. When selling, the system checks the stock amount of the product. If it is greater than the selling amount, the program subtracts selling amount from stock amount, calculates the total price which is based on selling price and prints a receipt slip. If the stock amount is less than the selling amount, the program prints an “out of stock” message and then place an order to the supplier of that product. When ordering, the program should add the ordering amount to the stock amount, calculate the total price of the order which is based on purchase price, and print an order form.
The program should be able to:
a) display stock information;
b) display clients’ information;
c) sell products and show receipt;
d) place order and show order form;
You should use base class to define the same information of clients, use inheritance and polymorphism to declare different data and functions, and use file to store the information of products and clients.
The coursework also requires submitting a document to describe the system structure you used in the system and test results. It should include:
a) A structure chart showing the design of your program, with suitable comments;
b) To indicate which compiler is used;
c) The operation instructions to load and run your program;
d) The test plan with the test data used to validate the program and a description of the actual results obtained;
e) A list of the program source codes;
This coursework is required to simulate the operations of a wholesale company which buys products from suppliers (manufacturers or imports) and sells them to retailers. Every client (retailer or supplier) has contact information, such as name, address, contact person, and telephone number. It is assumed that each supplier provides one product, and every retailer can buy many items in one transaction. Suppose there are 5-10 products and each product has a purchase price and a selling price. Your system should hold stock amounts of products. When selling, the system checks the stock amount of the product. If it is greater than the selling amount, the program subtracts selling amount from stock amount, calculates the total price which is based on selling price and prints a receipt slip. If the stock amount is less than the selling amount, the program prints an “out of stock” message and then place an order to the supplier of that product. When ordering, the program should add the ordering amount to the stock amount, calculate the total price of the order which is based on purchase price, and print an order form.
The program should be able to:
a) display stock information;
b) display clients’ information;
c) sell products and show receipt;
d) place order and show order form;
You should use base class to define the same information of clients, use inheritance and polymorphism to declare different data and functions, and use file to store the information of products and clients.
The coursework also requires submitting a document to describe the system structure you used in the system and test results. It should include:
a) A structure chart showing the design of your program, with suitable comments;
b) To indicate which compiler is used;
c) The operation instructions to load and run your program;
d) The test plan with the test data used to validate the program and a description of the actual results obtained;
e) A list of the program source codes;


Sign In
Create Account

Back to top









