1. Write a program that contains two arrays called actors and roles, each of size n. For each i, actors[i] is the name of an actor and roles[i] and is a HashSet of strings that contains the names of the movies that the actor has appeared in. The program reads the initial information for these arrays from files in a format that you design.
Once the program is running, the user can type in the name of an actor and receive a list of all the movies for that actor. Or the user may type the name of a movie and receive a list of all the actors in that movie.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here