Skip to content

youwereeatenbyalid/HW9

Repository files navigation

HW9

Specification HW #9

Create a container (Product) that can store an product ID and a price, can return either value when requested, overwrites boolean functions to use the product ID, and overwrites the extractor function to output the product ID, followed by the price. Then, write a driver capable of creating these products from user input and storing them in a list sorted by the product ID. The driver must be capable of retrieving a container from the list by searching a product ID, return a number of products with a given price, remove all instances of a container with the product ID in question BAR ONE, and be able to print a full list of the products.

Precondition:

The driver is initialized with a linked list of type created and the menu function called to fill the list

Postcondition:

The program exits when the exit option is selected from the menu function.

About

HW #9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published