Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need c++ code The Show class This class models a movie show. It simply captures the four required values for an object. A sh
I need c++ code
The Show class This class models a movie show. It simply captures the four required values for an object. A sh description of the struct members is given below: ields: Il the fields are private. 1. Price - this field is a double representing the price of admission to this show. 2. day Enum_ - this field is an enum representing the day of the week of this show. 3. movie - this field is an object reference of the movie class. 4. time - this field is an object of the Time class representing the time of this show. onstructor: 1. Show(Movie movie, Time time, DayEnum dayEnum, double price) - This is the public constructor that takes four arguments and assigns them to the appropriate fields. Methods: 1. ostream\& operator ,50 you will have to use the appropriate method to check for the presence of anactor. 7. void PrintShows(Day Enum day, Time time) - This public methodtakes a day value and a time value as arguments and display all the shows matching the day and the time value The Time object that is associated with a show is not the same as the Time object that will be passed as the argument, therefore the numeric values of the fields of the two objects must be comparedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started