Question: How do you do this in C++ : 1.create an array of strings with a size of 10. 2. the player starts with 3 items.

How do you do this in C++ :

1.create an array of strings with a size of 10. 2. the player starts with 3 items. over the course of several adventures, 3. the player gains 3 items and has to name each of them. - because of cin limitations, the name can only be one word. 4. the player uses 1 item, making it go away. 5. at each change in inventory - show the changes with a for loop that ignores strings that have "" no characters.
 6.the player must give up their most treasured item to the bridge troll (or similar) to get past the bridge. The player will have to search for that item inside of a for loop.

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!