Question: write a C++ program that uses a class named Movie to store the following information about a movie: - Title - Director - Year Released

write a C++ program that uses a class named Movie to store the following information about a movie:

- Title

- Director

- Year Released

- Running time (in minutes)

+ print() : Function that will print the information for this movie in a nice format

Include a constructor that allows all four of these member data values to be specified at the time a Movie variable is created. The program should create four Movie variables and call its print() function to display the movie information.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!