Question: C++ Write a few lines of code to declare a bag of strings and place the strings squash and handball in the bag. Then grab
C++

Write a few lines of code to declare a bag of strings and place the strings squash and handball in the bag. Then grab and print a random string from the bag. Finally, print the number of items in the bag
Step by Step Solution
There are 3 Steps involved in it
The initial answer was rejected because it uses stdvector which is incorrect It should be stdv... View full answer
Get step-by-step solutions from verified subject matter experts
