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
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
Get step-by-step solutions from verified subject matter experts
