السلام عليكم
ياريت حد يشرحلي طريقه حل هذي المساله
Write a C++ program to read name and one score of a class of n students. The program should do the following:
1. Assume the number of students in the class is n = 6.
2. Ask the user to enter name and score for each student in the class and store them in suitable arrays
3. Display the maximum score and all students who got the maximum.
4. Display the minimum score and all students who got the minimum.
5. Display the average score of the class.
Note: you should get the maximum score first and then you do a loop to get all students' names that got the maximum. The same you do for the minimum.