Question: USING C++. i NEED HELP WITH THE ASSIGNEMNT BELOW. Inventory Management System (using Object Oriented Design and Programming) assigment In this assignment, you are required
USING C++. i NEED HELP WITH THE ASSIGNEMNT BELOW.
Inventory Management System (using Object Oriented Design and Programming) assigment
In this assignment, you are required to build a professional inventory management system (using object oriented design and programming) with specifications given below. The inventory management system must have products, customers, and orders.
You must decide about appropriate data types of the properties of products, customers and orders.
Step 1: Create a class diagram. Class diagram must be detailed and have classes with attributes and functions clearly mentioned. Associations should be clearly specified between different classes. Include class diagram in JPG format with your submission.
Step 2: You'll be creating a command-line program that will display following top-banner (displaying Inventory Management System) and then a main-menu with following options to the users.
Products must have properties: product id, product name, product price.
Customers must have properties: customer id, customer full name, customer address.
Orders must have properties: order id, order description, product id (id of the product that was
bought as a part of this order), customer id (id of the customer who bought the product).
Important notes:
You must code this assignment using object oriented programming and design as taught in the
lectures and tutorials of this course
Data types of prices must allow decimals too
You must define and implement associations (composition or aggregation) between different
classes as appropriate
Build different functionalities of the program in different functions and use modular approach
Your program must check for any invalid inputs where appropriate (e.g., if user enters an invalid
input).
HOW THE OUTPUT SHOULD LOOK LIKE
***************************** *Inventory Management System* *****************************
*Main-menu* Press P to open Products sub-menu Press C to open Customers sub-menu Press O to open Orders sub-menu Press E to exit from the Inventory Management System Please enter your input...
Based on the input of users as mentioned above, a sub-menu should open. If user enters P in the main-menu, it should open Products sub-menu:*Products sub-menu* Press A to add a Product
Press V to view all Products Press D to delete all Products Press B to go back to main-menu Please enter your input...
If user enters C in the main-menu, it should open Customers sub-menu:
*Customers sub-menu* Press A to add a Customer Press V to view all Customers
Press D to delete all Customers Press B to go back to main-menu Please enter your input...
If user enters O in the main-menu, it should open Orders sub-menu:
*Orders sub-menu* Press A to add an Order Press V to view all Orders Press D to delete all Orders Press B to go back to main-menu Please enter your input...
If user enters E in the main-menu, it should exit from the program.
For Products sub-menu: If user presses A, it should the program. If user presses V, it should If user presses D, it should If user presses B, it should
For Customers sub-menu: If user presses A, it should the program. If user presses V, it should If user presses D, it should If user presses B, it should
For Orders sub-menu: If user presses A, it should program. If user presses V, it should If user presses D, it should If user presses B, it should
ask for input of the properties (of a product) and add the new product into
display all the list of products (with all the properties) in the program. delete all the list of products (with all the properties) in the program. show the main-menu to the users and ask for input accordingly.
ask for input of the properties (of a customer) and add the new customer into
display all the list of customers (with all the properties) in the program. delete all the list of customers (with all the properties) in the program. show the main-menu to the users and ask for input accordingly.
ask for input of the properties (of an order) and add the new order into the
display all the list of orders (with all the properties) in the program. delete all the list of orders (with all the properties) in the program. show the main-menu to the users and ask for input accordingly.
Sample output of your program should look like as follows (note, the inputs are examples only and may be different as entered by different users):
***************************** *Inventory Management System* *****************************
*Main-menu* Press P to open Products sub-menu Press C to open Customers sub-menu Press O to open Orders sub-menu Press E to exit from the Inventory Management System Please enter your input...
User entered P
*Products sub-menu* Press A to add a Product Press V to view all Products Press D to delete all Products Press B to go back to main-menu Please enter your input...
User entered V No products to show at the moment.
*Products sub-menu* Press A to add a Product Press V to view all Products Press D to delete all Products Press B to go back to main-menu Please enter your input...
User entered A
Adding a new Product: Enter Product ID: 123 Enter Product Name: Laptop Enter Product Price: 500
A new Product has been added successfully!
*Products sub-menu* Press A to add a Product Press V to view all Products Press D to delete all Products Press B to go back to main-menu Please enter your input...
User entered V Listing following Products:
*Product 1* Product ID: 123 Product Name: Laptop Product Price: 500
*Products sub-menu* Press A to add a Product Press V to view all Products Press D to delete all Products Press B to go back to main-menu Please enter your input...
User entered D All Products deleted successfully!
*Products sub-menu* Press A to add a Product Press V to view all Products Press D to delete all Products Press B to go back to main-menu Please enter your input...
User entered B
*Main-menu* Press P to open Products sub-menu Press C to open Customers sub-menu Press O to open Orders sub-menu Press E to exit from the Inventory Management System Please enter your input...
User entered C
*Customers sub-menu* Press A to add a Customer Press V to view all Customers Press D to delete all Customers Press B to go back to main-menu Please enter your input...
... ... ... ... ... ...
And the program continues based on inputs from user.
User entered O
*Orders sub-menu* Press A to add a Order Press V to view all Order Press D to delete all Order Press B to go back to main-menu Please enter your input...
User entered A
Adding a new Order: Enter Order ID: 968 Enter Order Description: Customer ordering Laptop Enter Product ID: 123 Product ID successfully matched with the products in the program. Enter Customer ID: 456 Customer ID successfully matched with the products in the program.
A new Order has been added successfully!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
