Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

With this assignment you will make use of a class to manage a grocery list of a

ID: 3548502 • Letter: W

Question

With this assignment you will make use of a class to manage a grocery list of a

maximum of 100 entries.

The grocery list will have the following fields for each item in the list

Item Name

Item Quantity

Item Price

Store Name

The class will include the following functions:

- AddAnItem - parameters for each field in the item. The list should be

kept in order by Item Name. The function should return a boolean

indicating whether or not the add was successful.

- DeleteAnItem - parameters are item name and store name. The function

should return a boolean indicating whether or not the add was successful.

- ListItems - Overloaded - No parameter will list all items in the list. If a

Store Name is passed in, then only items from that store will be listed.

The list should include the item quantity * item price and a grand total.

The function should return void.

-LoadItems - Loads the items from a file. The function should ask for the

filename. Once the file is loaded, it should be sorted by Item Name.

The function should return a boolean indicating whether or not the add

was successful

- SaveItems - Saves the items to a file. The function should ask for the filename.The function should return a boolean indicating whether or not the add was succesful.

The main program will present the user with a menu of choices that will

continue until the user presses the

Explanation / Answer

very less time is left so i will post the link to the code in the comments below..

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote