subject

Cornell Auto Sales has 10 salespeople. Cornell wants to produce a combined monthly sales report for all salespeople. Cornell wants you to write a program that will read from an input data file and produce two reports. Each report is to be
sent to both the console screen and to output files. You are to name the two output report files "report1.txt" and
“report2.txt”. Download and use the input data file, sales. csv, provided separately within this assignment in Blackboard.
DO NOT EDIT THE INPUT FILE.
The Report1.txt file output should include:
• A well formatted, unsorted list of the salespeople’s name and the monthly sales for each of them.
• At the bottom of the report, list the following:
o The salesperson with the lowest sales for the month.
▪ No hard-coding here. Must use lowest value search algorithm presented in Lesson 6.
o The salesperson with the highest sales for the month.
▪ No hard-coding here. Must use highest value search algorithm presented in Lesson 6.
The Report2.txt file output should include:
• A well formatted, sorted (ascending order) list of the salespeople’s names and the monthly sales for each of them.
• At the bottom of the report, list the following:
o The total combined sales for all salespeople.
▪ No hard-coding here. Must use an accumulator.
o The average sales for all salespeople.
▪ No hard-coding here. Must do the calculation.
You must submit the Report1 and Report2 output files with your C++ program to show that your program ran correctly
Sales. csv:
Mike,41520
George,81930
Launa,62555
Teresa,91740
Carmen,73020
Charles,71425
Richard,65465
Nicky,52640
Morgan,81483
Francis,94455


Cornell Auto Sales has 10 salespeople. Cornell wants to produce a combined monthly sales report for

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Which sentences describe the things you need to ensure while creating a sketch and a drawing? while an artistic or creative drawing is a creative expression, a technical drawing is an informative expression. you need to create accurate and neat drawings to convey accurate information. a technical drawing clearly conveys its meaning or information, and does not leave room for interpretation maintain a good speed while creating drawings
Answers: 1
You know the right answer?
Cornell Auto Sales has 10 salespeople. Cornell wants to produce a combined monthly sales report for...
Questions
question
Mathematics, 05.07.2019 02:30
Questions on the website: 13722359