Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

image text in transcribed

image text in transcribed

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 Part

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

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions