Question: Write a program that uses a structure named MovieData to store the following information about a movie: title -a string director - a string year

 Write a program that uses a structure named MovieData to store

Write a program that uses a structure named MovieData to store the following information about a movie: title -a string director - a string year released - an int running time - a structure production costs- a double first-year revenues-a double Include a constructur that allows all six variables of the MovieData to be specified at the time a MovieData variable is created. Also provide a structure named RunningTime which has the following information: hours-a short minutes- a short It does not need a constructor. Create at least three MovieData variables describing different movies and pass each one in turn to a function that displays the information about the movie in a clearly- formatted manner. Pass the MovieData variables to the display function by constant reference

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!