Question: Use C++ to solve this question, need template class. 1.(80marks) An organization that your little cousin belongs to is selling low-fat cookie If your cousin's

 Use C++ to solve this question, need template class. 1.(80marks) An
organization that your little cousin belongs to is selling low-fat cookie IfUse C++ to solve this question, need template class.

1.(80marks) An organization that your little cousin belongs to is selling low-fat cookie If your cousin's class sells more cookies than any other class, the teacher has promised take the whole class on a picnic. Of course, your cousin volunteered you to keep track all the sales and determine the winner. Each class has an identification number. Eaclh sales slip has the class identification number and the number of boxes sold. 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 13 10 16 Output The following information written on file "boxes.out", all properly labeled. 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 as follows. You can use either array or LinkedList as the fundamental data structure. Deliverables Part I CRC card to - Your design (objected-oriented design). (use diagrams, pseudo-code, show your logical level design) Part II - A listing of your program (implementation of the program in C++) -A listing of your test plan as input to the program - A listing of the output file Interface of Unsorted Type class: bool IsFullO const; / Function: Determines whether list is full. / Pre: List has been initialized

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!