2. Sort the student by decreasing GPA and print the list of teachers after the sorting. (1 point)
The output should be:
Your selection (1 -> 4):
2
Enter the number of Students: 3
Enter Student 1
Enter name: Nhat
Enter class: SE1849
Enter GPA: 5.5
Enter Student 2
Enter name: Son
Enter class: SE1850
Enter GPA: 8.9
Enter Student 3
Enter name: Chi
Enter class: IA1803
Enter GPA: 7.5
OUTPUT
Student 1
Son SE1850
8.9
Student 2
Chi
IA1803
7.5
Student 3 Nhat
SE1849
5.5
3. List all students with a class started with SE and sorted them by name.(1 point)
+ 100%
Zoom
Close