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++

IN C++ WEEK 8: Understand the Application Sort Flexibility (Student class) Inweek 8, we saw an example of a Student class that provideda compareTwoStudents() method. We needed to define such a method because oursort algorithm (which was in the StudentArrayUtilities (SAU) class) had to havea basis for comparing two Student objects, the foundation of SAUs sorting

WEEK 8:

algorithm. Since a Student is a compound data type, not a double

or a string, there was no pre-defined less-than,image text in transcribed

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!