Question: Develop a ADT named as Student that includes the following data members and function members:Data members: long id; string name; char gender; string email;Function members:

Develop a ADT named as Student that includes the following data members and function members:Data members: long id; string name; char gender; string email;Function members: void Set(long newId, string newName, char newGender, string newEmail); //use the parameters to set the data members void Write() const; //print out the values in the data members bool Equal(Student otherStudent) const; //check if the student object is the same as otherStudent Student(); //default constructor Student (long initId, string initName, char initGender, string initEmail); //use the parameters to initialize the data membersRequirements: Include the ADT specification in Student.h file and include the ADT implementation in Student.cpp file. Submit both files by the deadline.

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