Question: C++ 1. Declare a struct named Student. Student struct has 3 fields as follows studentID - integer studentName - string studentEmail - string 2. Declare
C++
1. Declare a struct named Student. Student struct has 3 fields as follows studentID - integer studentName - string studentEmail - string
2. Declare an array of Student struct named studentList which contains 3 students
3. Based on the Array of Student struct from above question studentList, create a function getStudentData() which will prompt the user to enter student information and store the student data into studentList. This function passes in the array of Student struct and the size of the array.
4. Declare a dynamic array of Student struct named newStudentList. It has 5 students.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
