Question: Week 4 Lab Activities This lab has been designed for you to practice the implementation and testing of member functions of a Student class. The

Week 4 Lab Activities
This lab has been designed for you to practice the implementation and testing of member functions of a Student class. The 04_student project concains the following Student class in the "Studenth" file.
class student I
private:
string mase_;
string pronouns;
unsigned labs_[10];
public:
Student();
Student(const strings nase, const strings pronouns);
Jraccessor
string to_string() const;
Vrastator
void update. Lab(unsigned pos, unsigned grade);
void update_labs(const strings grades);
void update_labs(const unsigned grades[]);
i:
Here are more detalls about the private data members:
name_is to store the name for a student.
pronouns_is to store the gender pronouns for the student in the "subjective/objectlve/possessive" pronouns form. For example, "she/her/her", he/him/hls", "they/them/their"-
labs_is to store the lab grades for a student.
You are asked to implement the member functions of the Student class in the "Student.qpp" file and test them in the "main.cpp" flie.
Here are more detalls about the expected behavior of the public member functions:
Student: : Student 0):
The default constructor is to set the nome_ and pronouns_ of a new Student object to "Unknown" and "they/them/their", respectively in addition, the constructor shall initialize the lab grades to 0 for all ten lsbs.
Student: Student (const stringt name, const string pronouns):
This constructor takes a string parameter name that represents a student name and a string parameter pronouns that represents the student's preferred gender pronouns in the
 Week 4 Lab Activities This lab has been designed for you

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!