Upload Tugas Extension
Upload Tugas Extension
· If the user chooses menu 1 (“Add New Movie”), the application will:
o Ask user to input Movie’s Title. Validate that the Title’s length must be between 3
and 20 characters
o Ask user to input Movie’s Genre. Validate that the Movie’s genre must be filled
with either “Horror” , “Comedy”, or “Action” (case sensitive)
o Ask user to input Movie Rating. Validate that the Movie’s Rating must be between
1 and 10
o Generate the Movie’s ID based on the following format
XXYYY
Where
X = Random Character between A and Z
Y = Random Number between 0-9
o The Program will Calculate the Total Price with following formula