10. Array’s max, min, average, and sorting array members. Samplequestions:
a. Compute the average of 4 exams after dropping the lowest examscore.
b. Compute the weighted average of 4 exams after dropping thelowest exam score:
weighted avg = 60% * highest + 30% * 2nd high +10%*3rd high
11. Write a complex condition for this admission rule:
University admission rules: Applicants will be admitted if meet oneof the following rules:
1. Income >= 100,000
2. GPA > 2.5 AND SAT > 900
Solution