Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ use struct In this assignment, you are required to build a simple inventory management system (using structures) with specifications given below. The inventory management
C++ use struct
In this assignment, you are required to build a simple inventory management system (using structures) with specifications given below. The inventory management system will have products, customers, and orders. 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). 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. ***************************** *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. Note that the top-banner should be displayed only once in the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started