Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ question Each entry has the form below: Movie Name Date of Release Names of the stars in the movie A blank separator line Work
C++ question
Each entry has the form below: Movie Name Date of Release Names of the stars in the movie A blank separator line Work to be done: for each movie, a. read in the Name, Release Date and stars b. Sort the movies by Movie Name in alphabetical order, c. Sort the stars by last name in alphabetical order, d. Print the Movie Name, Release Date and Print the list of stars (order them alphabetically by last name).
This is the input: Journey 10: The Mysterious Island February 10, 1984 Russell Crow Daniel Douglas Michael Cain Juice March 2, 2012 Thomas Mann Oliver Coop Jonathan Daniel Brown Wrath of the Titans March 30, 2012 Sam Worthington Liam Neeson Bradley Beal The Lucky One April 20, 2012 Zac Efron Taylor Schilling Blythe Danner Riley Thomas Stewart Jay R. Ferguson Adam LeFevre Robert Hayes Joe Chrest Dark Shadows May 11, 2012 Johnny Depp Mekhi Pfeiffer Eva Mendes Chernobyl Diaries May 25, 2012 Jesse McCartney Jonathan Sadowski Olivia Dudley Rock of Ages June 15, 2012 Julianne Hough Diego Boneta Tom Cruise Magic Man June 29, 2010 Channing Tatum Alex Pettyfer Olivia Moore The Dark Knight Rises July 20, 2012 Christian Bale Tom Hardy Anne Hathaway The Odd Campaign August 10, 2012 Will Dempkins Zach Galifianakis Jason Sudeikis Dylan McDermott Katherine LaNasa Sarah Baker John Lithgow Dan Aykroyd Brian Cox
Sample Output:
The Lucky One April 20, 2012 Joe Chrest Blythe Danner Zac Efron Jay R. Ferguson Robert Hayes Adam LeFevre Taylor Schilling Riley Thomas Stewart
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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