Question: in c++ coding ,what is the main function for this class? class chef { public: string chef_Name; int chef_id; int Num_order; int Assigned_order; void set_Name(string
in c++ coding ,what is the main function for this class?
class chef { public: string chef_Name; int chef_id; int Num_order; int Assigned_order; void set_Name(string name)//set the chef name { chef_Name=name; } void set_Id(int id)//set the chef id { chef_id=id; } string getName()//return chef name { cout<<" chef Name="< };
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
