Movie Listing

The intent of this program is to manage a set of favorite movies. Each movie will have data associated with it:

Title
Year produced
Rating (this can be a simple 1-5 integer) that represents how much the user likes the movie.
Anything else youd like to add to make yours unique (can result in extra credit)
You must allow the customer to do the following actions on the movie list:

List all movies
Add Movie
Delete Movie
Edit Movie
Exit program
The menu prompted to the user should look something like the following. You can also allow the user to input only the first letter of each word, but you need to make it clear whats happening.

COMMAND MENU

(L)ist List all movies
(A)dd Add a movie to the list
(E)dit Edit a movie on the list
(D)elete Delete a movie on the list
(Q)uit Exit the program

I can now as the user enter either the word, or the letter (capitalized and in parentheses). If I enter anything else besided the letter or words on the menu the input is invalid and I have to try again.

For example, my implementation looks like this when I enter l for list movies:

COMMAND MENU

(L)ist – List all movies
(A)dd –  Add a movie
(E)dit – Edit a movie
(D)el –  Delete a movie
(Q)uit – Exit program

Command: l

1.Monty Python and the Holy Grail (1975) – Rating: 5
2. On the Waterfront (1954) – Rating: 2
3. Cat on a Hot Tin Roof (1958) – Rating: 4
Once I enter the main command, I will be prompted through the process of adding/editing/deleting/listing. For example, if I want to edit a movie, Ill be prompted for the number of the movie I want to edit, and then prompted for all the values to enter (similar to adding a move).

For example, here Im editing the second movie:

Command: e
Please input a number between 1 and 3: 2
Movie number 2 named ‘On the Waterfront’ will be changed. Are you sure (y/n)? y
    New Name: The Matrix
    New Year: 1999
    New Rating (number between 1 & 5): 5
Movie number 2 – named ‘The Matrix’ was changed.

Deleting a movie:

Command: d
Please input a number between 1 and 3: 3
Movie number 3 named ‘Cat on a Hot Tin Roof’ will be deleted. Are you sure (y/n)? y
Cat on a Hot Tin Roof was deleted.

Adding a movie:

Command: a
    Name: Star Wars
    Year: 1977
    Rating (number between 1 & 5): 4
Movie number 3 – named ‘Star Wars’ was added.

The post Movie Listing appeared first on Savvy Essay Writers.

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code “Newclient”

The post Movie Listing appeared first on Savvy Essay Writers.


Movie Listing was first posted on February 13, 2020 at 12:46 am.
©2019 "Savvy Essay Writers". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at savvyessaywriters@gmail.com

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational