Question: You said: Your program is to use two data structures to read in student grade data, perform some calculations, sort the students in ascending order

You said:
Your program is to use two data structures to read in student grade data, perform some calculations, sort the students in
ascending order by average, determine some class statistics, and output the results. The first data structure is classStats
and should have variables mean (float), min (float), max (float), median (float), and name (character pointer). You will
need to create this structure yourself, placing it above main() in hwk1.cpp and create one variable of type
classStats (not a pointer) in your main program.
The second data structure is called student and will have variables first (character pointer), last (character
pointer), exam1(integer), exam2(integer), exam3(integer), exam4(integer), and mean (float). This structure is in
the file student.h. Take a moment to study this structure to understand it before using it. You will need to create an array
of 19 student pointers and will need to allocate space for each in your main program using malloc(). solve it for me and explain each steps clearly

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 Programming Questions!