Question: Assignment: Assume the class Student has been declared and is structured as follows: - Three private members: a string field username, an unsigned long field
Assignment: Assume the class Student has been declared and is structured as follows:
Three private members: a string field username, an unsigned long field id and a double field gpa.
A constructor that takes, in order, a string, an unsigned long, and a double parameter.
Write some code that initializes the variable students with an array of students. Assume the number of students has been assigned to the int constant NuMBEROFsTUDENTS. The user should input the students' data one by one. Your code should not do input validation.
The format should follow carefully the example provided.
Write your code below
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
