Question: / * TODO: Test 3 - Insert into collection * = = = = = = = = = = = = = = =
TODO: Test 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
As this a boolean true, 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
