Question: Code in c++ please 2.22 LAB: Student class In the Student.cpp file and Studenth file, build the Student class with the following specifications . Private

Code in c++ please
 Code in c++ please 2.22 LAB: Student class In the Student.cpp
file and Studenth file, build the Student class with the following specifications
. Private data members string name - Initialized in default constructor to
Louie double gpa - Initialized in default constructor to 1.0 Default constructor

2.22 LAB: Student class In the Student.cpp file and Studenth file, build the Student class with the following specifications . Private data members string name - Initialized in default constructor to Louie double gpa - Initialized in default constructor to 1.0 Default constructor Public member functions SetName() - sets the student's name GetName() returns the student's name SetGPAO) - sets the student's GPA GetGPAO-returns the student's GPA Exif a new Student object is created the default constructor sets name to Louie' and gpa to 1. The output of GetName() and GetGPAO) before and after calling SetName('Felix") and SetGPA(3,7) Louis Tolix/3.7 AT LAD 0 / 10 LAB ACTIVITY 2.22. 1. LAB: Student class Current file main.cpp Load default template 1 include #include 6 7 using namespace std; 9 Student Student 10 VIFO Complete the constructor 11) 12 13 void Student Setine(string n) 16 V/TXM complete Setme function 15) 16 17 mare functions Develop mode Run your program as often as you'd like, before submitting for grading Below, type any needed Submit mode in their than in Duin nennem

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 Databases Questions!