You will write a program to manage a shopping list. The program should display a list of items. The user must be able to enter and edit the items. You will use a class for the items. The class should...

I already posted 4 times earlier but wrong answer if this time u posted wrong answer I’ll downvote it and bad review tooYou will write a program to manage a shopping list. The program should display a list of items.<br>The user must be able to enter and edit the items.<br>You will use a class for the items. The class should have data elements for the following<br>information: item name, unit (i.e. can, or pounds, or ounces), number to buy, and unit price. You<br>will implement creating the list, adding items, removing items, displaying the shopping list. The<br>class description can be shown this way:<br>List_item<br>string name<br>string unit<br>int nr_wanted<br>List_item() //maybe?<br>void add_item(string)<br>void remove_item(string)<br>void display_list()<br>

Extracted text: You will write a program to manage a shopping list. The program should display a list of items. The user must be able to enter and edit the items. You will use a class for the items. The class should have data elements for the following information: item name, unit (i.e. can, or pounds, or ounces), number to buy, and unit price. You will implement creating the list, adding items, removing items, displaying the shopping list. The class description can be shown this way: List_item string name string unit int nr_wanted List_item() //maybe? void add_item(string) void remove_item(string) void display_list()

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here