Question: Define a struct called Student that stores information about a student, including:ID numberFirst and last nameEmail addressGrade point average ( GPA ) Current grade level
Define a struct called Student that stores information about a student, including:ID numberFirst and last nameEmail addressGrade point average GPACurrent grade level freshman sophomore, etc.Number of credits earned so farWrite a function that asks the user for student information and then allocates memory for a new Student object, fills in its attributes, and returns a pointer to that object.Create a function that takes a Student pointer and neatly prints out all the fields, so we can display a student's info.Write a function that allows the user to enter any number of students, creates a dynamic array to store them, initializes each one by asking the user for data, and returns a pointer to the array.Make a function to neatly print out the details of every student in an array, given the array pointer and size.Implement a flexible sorting function that can sort an array of Students in different ways eg by ID name, GPA based on a function pointer parameter that tells it which field to sort onWrite a function that allows the user to insert a new Student into the array.Write a function that allows the user to delete an existing student from the array using hisher ID number.Submit your work in ONE C source file CPP file
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
