Write a C++ program to test your class. Your program should also provide the following functions…
Write a C++ program to test your class. Your program should also provide the following functions
: •inputStudentData( ): this function takes as a input a static array and its size (assume a const size of 5 in the main). And fills the static array with the data of 5 students from the user input
. •sortStudentsBasedOnGPA( ): sorts the array in an ascending order based on the student GPA (use one of the 2 sorting algorithms discussed in the course).
•getHighestStudent( ): returns a student object with the highest GPA.
Your main function should call all three functions to input, sort and display the information of the highest achieving student using the DisplayStudent() method.