Display a summary of all of the movie titles the number of


Lab Assignment

Goal:

The purpose of this lab is to demonstrate an understanding of working with arrays of objects.

Problem:

You are working at the Johnson Center Cinema. The theatre must keep track of the titles and lengths of all movies shown in the theatres. In addition, the cinema manager also wants to know which movie is the longest, so they can sit those people in the theatre with the most comfortable seats. At any given time, the theatre can have up to 5 movies playing. Create an object oriented solution that allows the theatre manager to enter up to 5 movies playing. Keep in mind you overheard the manager saying the theatre is considering expansion in the future and may want to increase the number of movies it can show. Display a summary of all of the movie titles, the number of movies entered, and the length of the longest movie. Note: Remember the good design principles you have already learned in the course. In addition, you must demonstrate use of an array of objects. Hint: Don't forget about the different modifiers available (e.g. static) to determine what might be needed for each variable and method. The example run below shows how the program would run.

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Display a summary of all of the movie titles the number of
Reference No:- TGS01676985

Now Priced at $40 (50% Discount)

Recommended (93%)

Rated (4.5/5)