Answered step by step
Verified Expert Solution
Link Copied!

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!

image text in transcribed

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 data

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

3. What are the current trends in computer hardware platforms?

Answered: 1 week ago