Question
c++ Declare a struct named Student. Student struct has 3 fields as follows studentID - integer studentName - string studentEmail - string Declare an array
c++
Declare a struct named Student. Student struct has 3 fields as follows studentID - integer studentName - string studentEmail - string
Declare an array of Student struct named studentList which contains 3 students
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.
Declare a dynamic array of Student struct named newStudentList. It has 5 students.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started