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, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
The first time a user launches the powerpoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?
Answers: 1
question
Computers and Technology, 24.06.2019 09:10
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
You know the right answer?
Cornell Auto Sales has 10 salespeople. Cornell wants to produce a combined monthly sales report for...
Questions
question
Mathematics, 21.07.2020 04:01
question
Health, 21.07.2020 04:01
question
Mathematics, 21.07.2020 04:01
Questions on the website: 13722367