Solution: List
Let's discuss the solution to the coding exercise on lists.
We'll cover the following
Problem
This activity uses a list
for a grocery list program. Create a console application for a Grocery List that meets the requirements below.
- Display the following:
Add/ Remove/ Display items from grocery list (Add/Remove/Display/Exit):
. - Allow a user to add or remove items from a grocery list.
- Allow a user to display all items on the grocery list.
- Repeat this, until the user selects
Exit
.
Get hands-on with 1400+ tech skills courses.