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 05:30
The total revenues for a company are $150,223 and the total expenses were 125,766. if you are calculating the net income, which of these spreadsheets would you use? insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2-b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2+b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2/b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2*b3. the formula should be showing in the formula bar.
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
This graph compares the total cost of attending educational institutions in texas. the graph demonstrates that the cost at private and public technical schools greatly varies.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
You know the right answer?
Cornell Auto Sales has 10 salespeople. Cornell wants to produce a combined monthly sales report for...
Questions
question
Mathematics, 18.12.2020 01:00
question
History, 18.12.2020 01:00
Questions on the website: 13722363