Write a C++ program that contains a structure named ?Student? having two data members
1) Name
2) CGPA Declare array of structure ?Student? of size 10 .Populate this array by taking data from file inputFile.txt.File inputFile.txt contains Name and CGPA of the students for current semester. There is a single space between the Name and CGPA.
Display the un-sorted list of students on screen. Compare the CGPAs of all the students and sort Student List with respect to CGPA in ascending or descending order.
Display the sorted list of students, highest CGPA and lowest CGPA on screen and also write the result in File outputFile.txt with tab characters between the Name and CGPA. Sample InputFile.txt Ahmer 4.0
Aasim 3.5 Usman 3.4 Maria 2.4 Anila 3.0 Humza 2.6 Junaid 3.0 Talaal 3.8 Haris 3.9 Saira 2.6 Sample OutputFile.txt