Question: In the class definition, initialize the data members, integer numEmployees and string state, with the default values 1 and Unknown, respectively. Ex. If the input

 In the class definition, initialize the data members, integer numEmployees and

In the class definition, initialize the data members, integer numEmployees and string state, with the default values 1 and "Unknown", respectively. Ex. If the input is 15DC, then the output is: Number of employees: 1, State: Unknown Number of employees: 15, State: DC Note: The class's print function is called first after the default constructor, then again after the inputs are passed to the setters: \#include \#include using namespace std; class Restaurant \{ public: void SetNumEmployees (int restaurantNumEmployees); void SetState(string restaurantState); void Print O; private: \}

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!