Question: Using C++ Write a program using vectors that allows a user to maintain an inventory of what they are carrying. The program should allow the

Using C++

Write a program using vectors that allows a user to maintain an inventory of what they are carrying. The program should allow the user to see everything they are holding, add something to their inventory and drop something from their inventory.

So, code will say:

1.See inventory

2. Add to inventory

3. Remove from inventory.

One will print out what they currently have.

Two will say, "what will you want to add", and let them enter a string. It will then be added to inventory (push)

Three will say "Which do you want to drop" which will let them enter a number. It then will be removed from inventory (erase)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!