Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please post sample output. In C++ program please. 2. (80) An organization that your little cousin belongs to is selling low-fat cookies. If your cousin's
Please post sample output. In C++ program please.
2. (80) An organization that your little cousin belongs to is selling low-fat cookies. If your cousin's class sells more cookies than any other class, the teacher has promised to take the whole class on a picnic. Of course, your cousin volunteered you to keep track of all the sales and determine the winner. Each class has an identification number. Each sales slip has the class identification number and the number of boxes solod. Input (Note: if you use keyboard for the input, it is ok for this assignment) Here is a sample of the data. (The classes are numbered from 1 through 10.) Id. Number Boxes Sold 23 4 13 4 10 Output 16 The following information written on the output file all properly labeled. Tracking all the sales for 10 classes. The total number of boxes sold by each class The identification number of the winning class. If there is a tie, list all winners. Data Structures: using class UnsortedType defined in the textbook (chapter 3). The interface is provided at the end of this assignment. You can use either array or LinkedList as the fundamental data structure Deliverables Part I 2. (80) An organization that your little cousin belongs to is selling low-fat cookies. If your cousin's class sells more cookies than any other class, the teacher has promised to take the whole class on a picnic. Of course, your cousin volunteered you to keep track of all the sales and determine the winner. Each class has an identification number. Each sales slip has the class identification number and the number of boxes solod. Input (Note: if you use keyboard for the input, it is ok for this assignment) Here is a sample of the data. (The classes are numbered from 1 through 10.) Id. Number Boxes Sold 23 4 13 4 10 Output 16 The following information written on the output file all properly labeled. Tracking all the sales for 10 classes. The total number of boxes sold by each class The identification number of the winning class. If there is a tie, list all winners. Data Structures: using class UnsortedType defined in the textbook (chapter 3). The interface is provided at the end of this assignment. You can use either array or LinkedList as the fundamental data structure Deliverables PartStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started