[SOLVED] SOLVED: Program that accepts a shopping list of items from the command line and stores them in a vector.

20.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)

Write a program that accepts a shopping list of items from the command line and stores them in a vector. Also provide facility to perform following operations a) To delete an item in the list. b) To add an item at a specified location in the list. c) To add an item at the end of the list. d) To print the contents of the vector.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.