Question: c + + please! Integer inputSize is read from input. Then, strings and integers are read and stored into string vector furnitureList and integer vector

c++ please!
Integer inputSize is read from input. Then, strings and integers are read and stored into string vector furnitureList and integer vector skuList, respectively. Lastly, string furnitureAsked and integer skuAsked are read from input.
Assign matchesFound with the number of element pairs that match both furnitureAsked and skuAsked.
For each pair that matches furnitureAsked and skuAsked, output "Exact match found at index " followed by the element pair's index. End with a newline.
Ex: If the input is:
3
table 55 futon 204 table 52
table 52
Then the output is:
Exact match found at index 2
Total: 1

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!