Question: ChALLenge ACTIVITY 5 . 5 . 3 : Multiple vectors. Jump to level 1 Integer dataSize is read from input. Then, dataSize pairs of strings
ChALLenge
ACTIVITY
: Multiple vectors.
Jump to level
Integer dataSize is read from input. Then, dataSize pairs of strings and integers are read and stored into string vector tintList and integer vector quantityList, respectively. Lastly, integer quantityThreshold is read from input. Complete the following tasks:
Initialize matchesFound with
Use a loop to increment matchesFound, a counter that tracks the number of element pairs with a quantity not equal to quantityThreshold. Output the tint of each pair found with a quantity not equal to quantityThreshold. End with a newline.
Click here for example
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
