Question: CHALLENGE ACTIVITY 5 . 5 . 3 : Multiple vectors. 5 7 9 7 0 4 . 4 4 6 5 7 5 0 .

CHALLENGE
ACTIVITY
5.5.3: Multiple vectors.
579704.4465750. qx3zqy 7
Jump to level 1
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.13
CHALLENGE ACTIVITY 5 . 5 . 3 : Multiple vectors.

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 Programming Questions!