Question: C++ code 1. Design, develop, and test a program that uses a structure MovieData to store the information below. Create two MovieData variables and call
C++ code 1. Design, develop, and test a program that uses a structure MovieData to store the information below. Create two MovieData variables and call a function to store data in the two; call another function to display the information about a movie in a clearly formatted manner. (Below are docs prototypes and main() pseudocode.)
MovieData:
Title
Directors name
Year released
Length (in minutes)
// getMovieData() stores info in the MovieData object
void getMovieData(MovieData & m);
// prntMovie() displays the info in the MovieData object
void prntMovie(MovieData m);
main pseudocode:
declare MovieData objects
call getMovieData for each MovieData object
call prntMovie for each MovieData object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
