Question: Need help with this programming please this is the instruction my teacher provided Write a C++ class called Sales and a main( ) function that

Need help with this programming please this is the instruction my teacher provided

Need help with this programming please this is the instruction my teacher

provided Write a C++ class called "Sales" and a main( ) function

Write a C++ class called "Sales" and a main( ) function that uses the class. Also, write documentation of your project. Below is a specification of the class. . INTRODUCTION A company has four salespeople (1 to 4) who sell five different products ( to 5)1. Once a day each salesperson passes in a slip for each different type of product sold. Each slip contains: The salesperson number The product number Date of sale The total dollar value of that product sold that day Thus a salesperson passes in between 0 and 5 slips per day Here is an example of daily sales data: PRODUCT ID AMOUNT 127.57 3123.99 47.77 500.00 268.72 SALESPERSON ID 894.50 2. DATA STRUCTURES First, provide a struct of the sales slip. Second, provide the class whose data members are as follows: A one-dimensional array of slip structures to be used to store sales information for all the sales people for a month. A two dimensional array that wil array where the rows shall represent salesperson and the columns shall represent product. A one-dimensional A one dimensional array of product names. l contain a summary of the data from the one dimensional ional array of names of the four salespersons. 3. PROGRAM LOGIC 3.1 Input A function member of the class to input data into the one-dimensional array from the keyboard

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!