Question: CHALLENGE ACTIVITY 5 . 5 . 3 : Multiple vectors. 5 7 9 7 0 4 . 4 4 6 5 7 5 0 .
CHALLENGE
ACTIVITY
: Multiple vectors.
qxzqy
Jump to level
Integer inputSize is read from input. Then, strings and integers are read and stored into string vector hueList and integer vector quantityList, respectively. Lastly, string hueAsked is read from input. Find hueAsked in hueList and output the following:
"The hue
the value of hueAsked
matches the quantity"
the element in quantityList at the index of hueAsked in hueList
found at index
the index of hueAsked in hueList
End with a newline.
Click here for example
Note: hueAsked is an element in hueList
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
