Question: / * TODO: Test 4 - Remove from collection * = = = = = = = = = = = = = = =
TODO: Test Remove from collection
Given an integer idNumber and a vector of students,
search the students vector for a student whose ID number
matches the idNumber parameter. If the ID number is found
replace the student in that position with a student created
using the default constructor and return true. If no student
with the given ID number is found, return false.
Tips:
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
