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...


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.



Dec 01, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here