Question: #include #include #include using namespace std; class Eatery { public: void SetName ( string eateryName ) ; void SetEmployees ( int eateryEmployees ) ; void
#include
#include
#include
using namespace std;
class Eatery
public:
void SetNamestring eateryName;
void SetEmployeesint eateryEmployees;
void Print const;
private:
string name;
int employees;
;
public:
void SetNameString eateryName
this.name eateryName s Delicatessen";
public:
void SetEmployeesString eateryEmployees
this.employees eateryEmployees;
void Eatery::Print const
cout "Eatery: name endl;
cout "Total: employees employees" endl;
int main
Eatery restaurant;
string inputName;
int inputEmployees;
cin inputName;
cin inputEmployees;
restaurant.SetNameinputName;
restaurant.SetEmployeesinputEmployees;
restaurant.Print;
return ;
I
KEEP GETTING THIS ERROR CODE PLEASE HELP
main.cpp::: error: expected unqualifiedid before public
public:
~~~~~
main.cpp::: error: expected unqualifiedid before public
public:
~~~~~
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
