Organize a monthly movie night at your place. To help with the decision of which movies to watch create a program that allows users to input on the command line their top ten movies. Use an array of Strings to hold the list. Sort the titles and then print the array to the console.
Give the user the choice to replace a movie on the list or to exit the program. If the user decides to replace a movie ask the user the name of the movie to be removed and search for that movie. If found ask the user for the new movie and insert it in place of the old movie. Sort and display the list again. Organize a monthly movie night at your place. To help with the decision of which movies to watch create a program that allows users to input on the command line their top ten movies. Use an array of Strings to hold the list. Sort the titles and then print the array to the console.
Give the user the choice to replace a movie on the list or to exit the program. If the user decides to replace a movie ask the user the name of the movie to be removed and search for that movie. If found ask the user for the new movie and insert it in place of the old movie. Sort and display the list again.
Attachments: