Question: Write a C + + program that manages a small list of movie titles. The program will allow users to add, display, sort, and search

Write a C++ program that manages a small list of movie titles. The program will allow users to add, display, sort, and search for movie titles. Rhis progrma should have the following requriemnets:
1. Declare an array to store up to 10 movies titles.
2.Create a menu with the following options:
a. Add a new novie
b. Display all moviess
c. Sort movies alphabetically
d. Search for a movie title
e. Exit
3. Create and implement the following functiions
addMovie()
- Prompts the user to enter a movie title, then adds it to the array if there is a space.
displayMovies()
- Displays all movie titles in the array
- Displays all movie titles in the array
sortMovies()
- Sorts the movie titles in alphabetical order.
searchMovies()
- searches for a movie titile in the array if fouund returns in the index od the movie. If not found, return -1
4. If the user tries to enter more than 10 movies, display a message saying the list is full.

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!