Question: C + + ONLY You will need to submit three files in this assignment. Student.h should contain the class specification, Student.cpp should contain all member

C++ ONLY
You will need to submit three files in this assignment. Student.h should contain the class specification, Student.cpp
should contain all member function definitions, StudentDriver.cpp should contain the main function and all other
non-member functions. Use #ifndef in appropriate places.
Design a "Student" class that can hold information for a student in a university. The class should have the following
private member variables:
The class should have the following public member functions. You may not create more member functions than
the six listed below:
Also write a main function (in StudentDriver.cpp) to do the following:
Declare a Student variable (student1). Change values of student1 to be: studentNumber=1,
studentName="John Doe", GPA =3.5. Display all values associated with student1 using get functions.
Declare another Student variable (student2), set the values to be studentNumber =2, set all associated
member variables with user input. Display all values associated with student 2 using get functions.
Specifications:
Member function prototypes should be within the class declaration, but member function definitions
must be in the class implementation file.
You are not required to have any other functions except the member functions mentioned above. You can
create more functions in the driver program if needed however.
Use setw and setprecision to manipulate your output.
There are 40'**'s in the line separator shown below.
Sample Output 2:
C + + ONLY You will need to submit three files in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!