Question: Please make the program as easy to understand as I'm a beginner and add comments. Please do the work within a function for every menu

Please make the program as easy to understand as I'm a beginner and add comments. Please do the work within a function for every menu choice. Thank You.
This is a C program. Create a dynamic array on the heap. Allow the user to choose the size of the array. The array will store a struct. The struct will have five fields, name, exam1, exam2, exam3, and exam4. The program will have the following menu: 1. 2. 3. 4. 5. Add a student (this populates all five fields for the student) Display all student records (shows a list of names and grades) Display student average (shows a list of name and average) Display class average Quit We will declare the space needed for a record only when it is needed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
