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.

  1. Display the following: Add/ Remove/ Display items from grocery list (Add/Remove/Display/Exit):.
  2. Allow a user to add or remove items from a grocery list.
  3. Allow a user to display all items on the grocery list.
  4. Repeat this, until the user selects Exit.

Get hands-on with 1400+ tech skills courses.