Question: Need help with this infinite vector assignment please. Code must be in C++ Task Create a program which will ask for a category and thing

Need help with this infinite vector assignment please. Code must be in C++
Need help with this infinite vector assignment please. Code must be in

Task Create a program which will ask for a category and thing for a "favorite things getting to know you task. The program should ask for "favorite things" until the student says they are done (with a "y" or "n"). You should create 2 vectors to complete this task and at the end reprint all the "favorites" (the second vector only) using a loop with "auto" Example Input/Output Please enter a category: Minon Please enter your favorite thing of that category: Bob Do you have more favorites? (y) Y Please enter a category: food Please enter your favorite thing of that category: Pizza Do you have more favorites (y) Hope Your favorite is Bob. Your favorite is Pizza

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!