Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribedUse 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions

Question

DISCUSS its strategic importance.

Answered: 1 week ago

Question

What are the logistics implications of internationalisation?

Answered: 1 week ago