Question: C++ 14.3 Movie Data : Sort Array of Structs Extend the program that creates an array of struct named movieData to sort the array and
C++
14.3 Movie Data : Sort Array of Structs
Extend the program that creates an array of struct named movieData to sort the array and then print it. Use the running time of the movie as the key. A bubble sort method called bubbleSort needs to be added that takes the array as a parameter.
Title
Director
Year Released
Running time (in minutes)
Include a default constructor and an overloaded constructor that allows all four of these member data values to be specified at the time
a MovieData variable is created.
The program should create five MovieData variables and store them in an array of structs. The size of the array should be a constant called SIZE.
It should pass the array to a function that displays information about the movies in a formatted way (given to you ).
void printBanner(){
cout
}
The output should look like this:

THANK YOU
Director Larry Cosca Steven King The Funny Kids Steven Shpeelberg E F Coppola Recursive Robert Title The Pond The Shining Year Released 1967 1980 1990 2001 2010 Running Time 183 190 200 212 220 Mary Poppins Inception zyBooks 14.3 Movie Data : Sort Array of Structs 2 Extend the program that creates an array of struct named movieData to sort the array and then print as the key. A bubble sort method called bubbleSort needs to be added that takes the array as a parar Title Director Year Released Running time (in minutes) nclude a default constructor and an overloaded constructor that allows all four of these member dat a MovieData variable is created zyBooks 2 The program should create five MovieData variables and store them in an array of structs. The size o SIZE It should pass the array to a function that displays information about the movies in a formatted way void printBanner coutsetw(20)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
