Question: / * TODO: Test 5 - Retrieve from collection * = = = = = = = = = = = = = = =

/* TODO: Test 5- Retrieve from collection
*=========================================
* Given an integer idNumber and a vector of students,
* search the students vector for the first student whose ID number
* matches the idNumber parameter. If the ID number is found,
* return the student with that ID number. If no student with
* that ID number is found, return a student created with the
* default constructor.
*
* Tips:
*- Given the nature of the returned result, the value displayed
* in the console may not accurately represent your points for
* this test.
*/

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!