Question: IN C++ WEEK 8: Understand the Application Sort Flexibility (Student class) In week 8, we saw an example of a Student class that provided a
IN C++





WEEK 8:



Understand the Application Sort Flexibility (Student class) In week 8, we saw an example of a Student class that provided a compareTwoStudents() method. We needed to define such a method because our sort algorithm (which was in the StudentArrayUtilities (SAU) class) had to have a basis for comparing two Student objects, the foundation of SAUs sorting algorithm. Since a Student is a compound data type, not a double or a string, there was no pre-defined less-than,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
