class CheckInCheckOut ====================================================================================== Main method pseudocode Create 4 dummy Customers Create 5 dummy books Create 5 dummy movies Get all customers login name and store them into string array user[]. Get all books' titles and store them into string array bookName[]. Get all movies' titles and store them into string array movieNamw[]. Show "Welcome Message" do loop Prompt a login dialog box and ask for a user name Prompt a password dialog box and ask for password if (customers login and password is correct) then Initialize menu content as "Check In","Check Out","Change Password" and store values in string array menu[] Initialize logout state as true. do loop Show menu dialog box and ask user to choose one option from the menu switch ( user choosed option ) case "Check In" show dialog box and let user choose material type to check in (book or movie) If ( user choose book ) Show all books' name and let user choose one which he/she wants to check in. find the book from this user's borrowed books list. else ( user choose movie ) Show all movies' name and let user choose one which he/she wants to check in. find the movie from this user's borrowed movies list. end if confirm user if he/she would like to check in this book or movie if ( user wants to continue ) check in this material end if case "Check Out" show dialog box and let user choose material type to check in (book or movie) If ( user choose book ) Show all books' name and let user choose one which he/she wants to check out. find the book from this user's borrowed books list. else ( user choose movie ) Show all movies' name and let user choose one which he/she wants to check out. find the movie from this user's borrowed movies list. end if confirm user if he/she would like to check in this book or movie if ( user wants to continue ) check out this material end if case "Change password" Show a dialog box and ask user to give a new password. Confirm user to change password if ( user wants to continue ) change password end if case "Logout" set logout state = true end switch end loop ( when logout state is true ) end if show dialog ans ask user if wants to exit system end loop ( when user choose exit from system ) end of main ====================================================================================== exitSystemYesOrNo method pseudocode show dialog and ask user to choose one of the option ( " Exit system Yes/No" ) end of exitSystemYesOrNo ====================================================================================== continueYesOrNo method pseudocode show dialog and ask user to one of the option ( " Continue Yes/No " ) end of continueYesOrNo ====================================================================================== chooseMaterial method pseudocode Show dialog box with two options "Book " and "Movie" and ask user to choose one. end of chooseMaterial ====================================================================================== findMaterial method pseudocode for loop ( all material ) if ( material's title is the same as the input ) return this material next material until last material does not find requested material and return a null value. end of findMaterial