I want to develop a simple application to store and


I want to develop a simple application to store and retrieve data. I could call it Shopping list.

Would like to implement the following functionality:

The application will store a list of items. (Use a String array pulled from a text file).

On run, user can select the following options (home screen), and should come back to this home screen after the selected option is completed

Option 1. Display all items in the shopping list. (when selected print all items in the shopping list with item number(which could be array index of the item+1, so first item number 1 instead of zero)

Option 2. The user can add an item. (Prompt user to enter a item name and added it to array and print success message).

Option 3. Delete an item from shopping list .( Print all items as in option 1, and prompt user to enter item number to delete or 0 to cancel, if user enters a value, check the item number exits if so delete and print a confirmation message, else print no item found)

Option 4. The user can search for an item (prompt user to enter item name to search and lookup the array and display message if item exits/does not exists in array). Use the code for search uploaded.

Option 5. exit (save the array with items name to a file before exiting)

Next time the program loads it should load from the file with list of items and load it to the string array.

Attachment:- Assignment.rar

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: I want to develop a simple application to store and
Reference No:- TGS01544342

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)