Question: / * TODO: Test 3 - Insert into collection * = = = = = = = = = = = = = = =

/* TODO: Test 3- Insert into collection
*=========================================
* Given a student object, enrolled, and a vector of students,
* search the students vector to find an open space. If an
* opening is located, place the enrolled student into that
* position and return true. If no openings are found, return
* false.
*
* Tips:
*- An open space is identified by locating a space with a "default"
* student.
*- "Default" students will always have an ID number of 1000000
*- As this a boolean true, the value displayed in the console may not
* accurately represent your points for this test.
*/
static bool Test3(vector students, Student enrolled)
{in c++, please explain

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!