Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started