Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Must write the code in c++, ideally with lots of comments. Thanks! Requirements This program simulates a simple product ordering system. Provide the functionality to
Must write the code in c++, ideally with lots of comments. Thanks!
Requirements This program simulates a simple product ordering system. Provide the functionality to allow your user to create new customers, new products, and new orders. Customers will have orders. Orders will have products. For the three classes below, construct class declarations (.h) and class implementations (.cpp) as separate files. Supply appropriate interaction (input/output) with your user. Again, provide appropriate interaction (input/output) with your user. Class Customer - contains the following: 1. Member data: custID, name, address, orderNums (Class Template vector), customerCreationTime, customerCount - static 2. Member functions: setters and getters for all member data Class Order - contains the following: 1. Member data: orderNum, custID, productNums (Class Template vector), orderCreationTime, orderCount - static 2. Member functions: setters and getters for all member data Class Product - contains the following: 1. Member data: productNum, productName, productDescription, productCreationTime, productCount - static 2. Member functions: setters and getters for all member data Function - void getTime(). When called, provides the date and time via reference parameters. See here for general time example. Function - void outputReport(). Output a report which lists: 1. All customers with all member data 2. All orders with all member data 3. All products with all member dataStep 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