0

I have this project in cpp where i cant use object oriented, is there anyone willing to work with me on this project please.

C++ project need help

23rd Apr 2022, 5:40 PM
Vick
Vick - avatar
15 Réponses
+ 2
What's the project?
23rd Apr 2022, 7:03 PM
William Owens
William Owens - avatar
+ 1
(Total Sales) A company has four salespeople (1 to 4) who sell five different products (1 to 5). Once a day, each salesperson passes in a slip for each different type of product sold. Each slip contains the following: a) The salesperson's number b) The product number c) The total Birr value of that product sold that day Thus, each salesperson passes in between 0 and 5 sales slips per day. The program records the above daily information and generates a summary of the total sales by each salesperson per product. At the end of every month, the program prints the results in tabular format with each of the columns representing a particular salesperson and each of the rows representing a particular product. Cross total each row to get the total sales of each product for last month; cross total each column to get the total sales by salesperson for last month. Your tabular printout should include these cross totals to the right of the totaled rows and the bottom of the totaled columns. Also, the company
23rd Apr 2022, 8:35 PM
Vick
Vick - avatar
+ 1
Also, the company wants the program to calculate the bonus payment each salesperson receives at the end of the month and print it at the bottom of the column. The company pays a 5% bonus to each of its salespeople based on the number of sales he/she made during the previous month. Using the information given here write an application to
23rd Apr 2022, 8:35 PM
Vick
Vick - avatar
+ 1
solve the problem of the company. Also, the program allows searching for a particular product or salesperson record.
23rd Apr 2022, 8:36 PM
Vick
Vick - avatar
+ 1
Vick Any luck starting the project?
25th Apr 2022, 12:46 PM
William Owens
William Owens - avatar
0
By no OOP just no class objects?
23rd Apr 2022, 9:51 PM
William Owens
William Owens - avatar
0
Vick start your code on GitHub so I can branch
23rd Apr 2022, 11:29 PM
William Owens
William Owens - avatar
0
Yea just arrays, functions, loops...no objects
23rd Apr 2022, 11:50 PM
Vick
Vick - avatar
0
Okay i will tomorrow morning
23rd Apr 2022, 11:50 PM
Vick
Vick - avatar
0
William Owens I wrote kind of like a pseudocode, would u like to see it?
25th Apr 2022, 12:47 PM
Vick
Vick - avatar
0
Pseudocode for Total sales c++ program 1. Begin 2. For main function 2.1. initialize variables 2.2. Call the getSales function 2.3. Call the function to display the function header 2.4. Call the searching functions 3. For the getSales function 3.1. Declare Local variables 3.2. Prompt User for input of slip 3.3. While user has not entered -1 a) Read input b) prompt user for input 3.4. make the sales people a maximum of 4 and each sales person has a maximum of 5 slips 4. For the header function 4.1. columns= sales persons 4.2. Rows = particular product 4.3. Explain the table below print a message 4.4. Maybe display columns 5. For the printSales function 5.1. Declare and initialize local variables 5.2. Loop through each product a) Initialize salesperson's running total to 0 b) Print sales person number
25th Apr 2022, 12:54 PM
Vick
Vick - avatar
0
And we have to keep track of days for the month report. But that looks great we can work with that.
25th Apr 2022, 2:46 PM
William Owens
William Owens - avatar
0
Ill throw some opening code up on GitHub tonight.
25th Apr 2022, 2:47 PM
William Owens
William Owens - avatar
0
@Vick I have not done anything yet but set up our repository, hopefully we will get some helpers as well. https://github.com/owensjrw/Vick_help
26th Apr 2022, 12:00 AM
William Owens
William Owens - avatar