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:
Declare an array to store up to movies titles.
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
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
If the user tries to enter more than 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
