[Solved]Lab 3 Practice Classes Lab Begin Brief Demonstration Tas Cover Core Concepts Examined Mate Q37105900


in C++
Just the pizza class works
We were unable to transcribe this imageLAB #3-Practice Classes Each lab will begin with a brief demonstration by the TAs. They will cover the core concepts examined in the material. As such, this document will not serve to tell you everything the TAs will in the demo. It is highly encouraged that you ask questions and take notes. (3 pts) Create .h and .cpp files with constructors, accessors, and mutators for one class in Assignment 2. In Assignment 2, you need to create Restaurant, Menu and Pizza classes and employee and hour structs. Create the .h and .cpp files for one of the classes with the appropriate members (all being private), mutator functions, accessor functions, and constructors. For example, here are some prototypes for the default constructor, mutators, accessors for the Pizza class to get you started. Pizza void set_name (string name) string get_name ) void set_num_ingredients (int num) int get_num ingredients ); void set from file () (2 pts) Set up the functions which will read information from the files for one class in Assignment 2. It is not recommended that you do file /O in your constructors as doing so may result in your object failing to be made. (1 pt) Make sure you are using const in the appropriate places for all classes. Show transcribed image text
LAB #3-Practice Classes Each lab will begin with a brief demonstration by the TAs. They will cover the core concepts examined in the material. As such, this document will not serve to tell you everything the TAs will in the demo. It is highly encouraged that you ask questions and take notes. (3 pts) Create .h and .cpp files with constructors, accessors, and mutators for one class in Assignment 2. In Assignment 2, you need to create Restaurant, Menu and Pizza classes and employee and hour structs. Create the .h and .cpp files for one of the classes with the appropriate members (all being private), mutator functions, accessor functions, and constructors. For example, here are some prototypes for the default constructor, mutators, accessors for the Pizza class to get you started. Pizza void set_name (string name) string get_name ) void set_num_ingredients (int num) int get_num ingredients ); void set from file () (2 pts) Set up the functions which will read information from the files for one class in Assignment 2. It is not recommended that you do file /O in your constructors as doing so may result in your object failing to be made. (1 pt) Make sure you are using const in the appropriate places for all classes.
Expert Answer
Answer to LAB #3-Practice Classes Each lab will begin with a brief demonstration by the TAs. They will cover the core concepts exa… . . .
OR

