Question: Q2.6 Functions .Write two functions as follows to use your code. void highlov.avg.grade (Student a, Student *b, int n); void highlow.top-grade (Student *a, Student .b,

 Q2.6 Functions .Write two functions as follows to use your code.

Q2.6 Functions .Write two functions as follows to use your code. void highlov.avg.grade (Student a, Student *b, int n); void highlow.top-grade (Student *a, Student .b, int n); length n. . In both functions, a is a pointer to a single object and b is a pointer to an array of . First function: 1. Find the name and average grade of the student with the highest average grade. 2. Find the name and average grade of the student with the lowest average grade. 3. Print output to screen. cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!