Question: Integer inputSize is read from input. Then, integers and strings are read and stored into integer vector ageList and string vector userList, respectively. Lastly, integer

Integer inputSize is read from input. Then, integers and strings are read and stored into integer vector ageList and string vector userList, respectively. Lastly, integer ageAsked is read from input. Find ageAsked in ageList and output the following:
"Index "
the index of ageAsked in ageList
": the age "
the value of ageAsked
" is matched with user "
the element in userList at the index of ageAsked in ageList

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!