Objectives: The main objective of this assignment is checking students’ ability to implement membership functions. After completing this assignment, students will be able to: · implement member functions · use standalone functions and member functions · call member functions · implement constructors · use struct within a struct Problem description: In this assignment, you must add functionality to a program that sells movie tickets and assigns theater rooms to movies. The program is intended to be used by movie theater tellers. The available movies are loaded from the “movies.txt’ file while the rooms in which the movies are displayed are loaded from “rooms.txt” file. The “movies.txt” file contains the number of films playing at the theater in the first line. Then each line corresponds to a film, and includes the title, the runtime, and the expected performance in terms of sales (“2” indicates high expected yield, “1” medium, and “0” low yield). The expected yield is used when assigning the films to a room, as each of the ten rooms has a different number of seats. When assigning films to rooms, the films with a high expected yield must be assigned to the bigger rooms when possible. The “rooms.txt” file contains the room ID which is represented by a letter (A, B, C, etc.), and the number of seats in the room. Once the films have been assigned to rooms, tickets can be sold to viewers. When a ticket is purchased, the number of remaining seats in the room decrements. A viewer can purchase multiple tickets as long as enough seats remain available. Thus, prior to selling a ticket, the films must be displayed along with the total number of seats, available seats, runtime, expected yield (high, medium, low), and room ID. When purchasing a ticket, the viewer is prompted for the number of tickets he/she wishes to purchase. Then the teller can enter the movie title to check its availability and prompt for another title if no seats remain. The teller can always cancel a transaction by inserting “cancel” instead of a movie title. Once a customer has selected the movie and the number of tickets, the price must be displayed. A single ticket costs 7.25 dollars. Implementation Details You have been provided with working code. The program utilizes two structs, Movie, and MovieTheater. The Movie struct has the following member variables: 1. string title: title of the movie, no spaces allowed 2. double runtime: how long the movie lasts in minutes 3. int expectedYield: Possible values (2,1,0) which correspond to (high, medium, low) 4. char roomID: ID of the room movie is playing in. Possible values: A, B, C, D, etc. 5. int capacity: How many viewers can fit in room. 6. int available: How many available for purchase still remain. MovieTheater struct has the following member variables: 1. Movie *movies: dynamic array of Movie objects. 2. int numMovies: number of movies in array Use of global variables will incur a deduction of 10 p ...