Question: IN C++ Write a program and define a class of Student. Student has these attributes: Age (an int) FirstName (a string) LastName (a string) Social
IN C++ Write a program and define a class of Student. Student has these attributes: Age (an int) FirstName (a string) LastName (a string) Social Security Number (an int) Add the default constructor Add a second constructor that sets the attributes of the class Add the copy constructor that creates a copy of the student and override assignment operator Create a vector of 100 students. Use a for loop to fill the vector Add a function to your program that sorts the vector using selection sort in ascending order Add a function to your program that searches the vector using binary search to find the youngest student
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
