Question
C++Write a program that uses a class name MovieData to store the following information about a movie: create a class not a strcuture please. Title
C++Write a program that uses a class name MovieData to store the following information about a movie:
create a class not a strcuture please.
Title
Director
Year release
Running time
Inclue a constructor that allows all four of these memberdata values to be sprcified at the time a MovieData variable is created
The program should create two MovieData variable. Do not use user input.
Have a stand alone function that displays the information about the movie in a clearly formatted manner. This function takes an object of type MovieData. It is not a method of MovieData.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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