Write a C++ program to read, save, sort, search and display the students’ ids, student names and
marks of N students.
N=7 should be declared as a constant in your program. You must use structures, arrays and functions to
store the students’ IDs, names and marks.
Your program should display and execute a menu with the following options.
A switch statement must be used to execute the following menu options.
Menu
‐‐‐‐‐‐‐‐‐
1. Clear
2. Register a Student (Id, Name, Mark)
3. Display the student with a highest mark
4. Display the marks of all students
5. Display the percentage of the total mark received by each student
6. Sort all marks in ascending order
7. Sort all marks in descending order
8. Search for a student with a given id
9. Search for a student with a given name
10. Search for a student with a given mark
11. Exit

