Question: Description: Write a C + + program to sort a list of movies alphabetically ( A - Z ) The user will enter 4 movies

Description:
Write a C++ program to sort a list of movies alphabetically (A-Z)
The user will enter 4 movies along with their ratings
The program will print out the sorted list of movies
You MUST use 2 parallel arrays to remember the movie titles and movie ratings
We haven't learned #include yet, so I can't use "sort."
Please solve using Bubble Sort sorting method.
Sample Run #1(bold, underlined text is what the user types):
Name rating? Frozen 7.4
Name rating? Tangled 7.7
Name rating? Moana 7.6
Name rating? LiloAndStitch 7.3
Frozen rated at 7.4
LiloAndStitch rated at 7.3
Moana rated at 7.6
Tangled rated at 7.7
Test #1- checks all output
* Mini Test #2- output includes "7.4","7.3","7.6". and "7.7" at the end of consecutive lines
* Mini Test #3- output includes "Frozen", "LiloAndStitch", "Moana", and "Tangled" at the beginning of consecutive lines
Description: Write a C + + program to sort a list

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 Programming Questions!