Question: in c + + 1 4 . 4 7 Midterm 2 : University Define the ten member functions for the following class University: class University

in c++14.47 Midterm 2: University
Define the ten member functions for the following class University:
class University {
public:
University(); // Sets string member variables to NA and zip to 0.
void Print(); // Prints all member variables.
string GetName();
string GetCity();
string GetState();
int GetZip();
void SetName(string nameIn);
void SetCity(string cityIn);
void SetState(string stateIn);
void SetZip(int zipIn);
private:
string name;
string city;
string state;
int zip;
};

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!