SlideShare a Scribd company logo
1 of 1
Download to read offline
PROBLEM Write a program that contains two arrays called movies and actors, each of size N. For
each i, movies [i] is the name of a movie and actors [i] is a multiset of strings that contains the
names of the actors that appear in that movie. DO NOT create additional data structures (arrays,
vectors, multisets, etc.) in your program besides the actors and movies arrays. The program reads
the initial information for these arrays from the input file provided with the starter code (movies.txt).
The starter code already reads the input file. You just need to add the movies and actors to the
arrays as they are read. Given the input file provided, your arrays will look like: movies: [101
Dalmatians (1996), Ace Ventura, Addams Family, Air Force One (1997),] actors: [ {"Benfield,
John", "Braid, Hilda", "Capron, Brian", "Close, Glenn ", ...}, {"When Nature Calls (1995) ",
"Akinnuoye-Agbaje, Adewale", "Allen, Kayla", "Callow, Simon", "Carrey, Jim", "Christie, Sabrinah",
"Daniels, Danny D.", ... }, {"Anderson, Ryan", "Azito, Tony", "Benedict, Paul", "Franklin, John",
"Hall, Victoria", "Hart, Christopher", "Hedaya, Dan", "Hertford, Whitby", "Hittesdorf, Michael",
"Holihan, Ryan", "Huston, Anjelica", "Ivey, Dana", "Ivey, Lela", "Jackson, Eugene M. ", "Julia,
Raul", "Kent, Allegra", ...}, {"Barringer, Daniel W. ", "Barry, Thom", "Baskin, Elya", "Bell, E.E. ",
"Bellamy, Diana", "Berkeley, Xander", "Bullock, Donna", "Carhart, Timothy", "Close, 'Glenn",
"Crawford, Thomas", "Crewson, Wendy", "Divoff, Andrew", "Donaldson, J. Mark", "Doyle, Richard",
"Everett, Tom", "Faranda, Lee", "Ford, Harrison", ...}, ] Once the program is running, the user can:
1) type the name of a movie and receive the list of actors/actresses in that movie. 2) type the
name of an actor/actress and receive a list of all the movies for that actor/actress. The starter code
has a menu that displays these options to the user and reads theOnce the program is running, the
user can: 1) type the name of a movie and receive the list of actors/actresses in that movie. 2)
type the name of an actor/actress and receive a list of all the movies for that actor/actress. The
starter code has a menu that displays these options to the user and reads the input from the user
(either the movie title or the actor's name). You need to implement the functions that will perform
these tasks (the functions have been declared already).

More Related Content

More from addtechglobalmarketi

publie elass h 1 pahlte clamsia axcends A pablie clann Main .pdf
publie elass h 1 pahlte clamsia axcends A pablie clann Main .pdfpublie elass h 1 pahlte clamsia axcends A pablie clann Main .pdf
publie elass h 1 pahlte clamsia axcends A pablie clann Main .pdfaddtechglobalmarketi
 
Puede una empresa ser buena en responsabilidad social corpo.pdf
Puede una empresa ser buena en responsabilidad social corpo.pdfPuede una empresa ser buena en responsabilidad social corpo.pdf
Puede una empresa ser buena en responsabilidad social corpo.pdfaddtechglobalmarketi
 
public class Monster protected String clanAffiliation pro.pdf
public class Monster  protected String clanAffiliation pro.pdfpublic class Monster  protected String clanAffiliation pro.pdf
public class Monster protected String clanAffiliation pro.pdfaddtechglobalmarketi
 
Provide three evidences with scholar reference that support.pdf
Provide three evidences with scholar  reference that support.pdfProvide three evidences with scholar  reference that support.pdf
Provide three evidences with scholar reference that support.pdfaddtechglobalmarketi
 
Provincial Government The name of the representative of the .pdf
Provincial Government The name of the representative of the .pdfProvincial Government The name of the representative of the .pdf
Provincial Government The name of the representative of the .pdfaddtechglobalmarketi
 
Prpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdf
Prpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdfPrpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdf
Prpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdfaddtechglobalmarketi
 
Provide three evidences with reliable reference that suppor.pdf
Provide three evidences with reliable  reference that suppor.pdfProvide three evidences with reliable  reference that suppor.pdf
Provide three evidences with reliable reference that suppor.pdfaddtechglobalmarketi
 
Provide the Independent variables Dependent variables a.pdf
Provide the Independent variables Dependent variables a.pdfProvide the Independent variables Dependent variables a.pdf
Provide the Independent variables Dependent variables a.pdfaddtechglobalmarketi
 
Provide your example of a firm or a small business from the .pdf
Provide your example of a firm or a small business from the .pdfProvide your example of a firm or a small business from the .pdf
Provide your example of a firm or a small business from the .pdfaddtechglobalmarketi
 
Provide the steps for the following In order to install sof.pdf
Provide the steps for the following In order to install sof.pdfProvide the steps for the following In order to install sof.pdf
Provide the steps for the following In order to install sof.pdfaddtechglobalmarketi
 
Provide land use land cover images and photos using shape.pdf
Provide land use land cover images and photos  using shape.pdfProvide land use land cover images and photos  using shape.pdf
Provide land use land cover images and photos using shape.pdfaddtechglobalmarketi
 
Provide SQL that creates two database tables Employee and D.pdf
Provide SQL that creates two database tables Employee and D.pdfProvide SQL that creates two database tables Employee and D.pdf
Provide SQL that creates two database tables Employee and D.pdfaddtechglobalmarketi
 
Provide examples of risk and responsibilities relating to ts.pdf
Provide examples of risk and responsibilities relating to ts.pdfProvide examples of risk and responsibilities relating to ts.pdf
Provide examples of risk and responsibilities relating to ts.pdfaddtechglobalmarketi
 
Provide an example of a user interface such as a webbased.pdf
Provide an example of a user interface such as a webbased.pdfProvide an example of a user interface such as a webbased.pdf
Provide an example of a user interface such as a webbased.pdfaddtechglobalmarketi
 
Provide an example of an unintentional tort Discuss 3 occas.pdf
Provide an example of an unintentional tort Discuss 3 occas.pdfProvide an example of an unintentional tort Discuss 3 occas.pdf
Provide an example of an unintentional tort Discuss 3 occas.pdfaddtechglobalmarketi
 
Program 02 Based on the previous problem you should impleme.pdf
Program 02 Based on the previous problem you should impleme.pdfProgram 02 Based on the previous problem you should impleme.pdf
Program 02 Based on the previous problem you should impleme.pdfaddtechglobalmarketi
 
Programming Assignment 3 CSCE 3530 Introduction to Comput.pdf
Programming Assignment 3 CSCE 3530  Introduction to Comput.pdfProgramming Assignment 3 CSCE 3530  Introduction to Comput.pdf
Programming Assignment 3 CSCE 3530 Introduction to Comput.pdfaddtechglobalmarketi
 
Prove the following by induction 1ini32nn+122n+12nn3.pdf
Prove the following by induction 1ini32nn+122n+12nn3.pdfProve the following by induction 1ini32nn+122n+12nn3.pdf
Prove the following by induction 1ini32nn+122n+12nn3.pdfaddtechglobalmarketi
 
Provide a design for a cryptography problem which was illus.pdf
Provide a design for a cryptography problem which was illus.pdfProvide a design for a cryptography problem which was illus.pdf
Provide a design for a cryptography problem which was illus.pdfaddtechglobalmarketi
 
Proje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdf
Proje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdfProje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdf
Proje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdfaddtechglobalmarketi
 

More from addtechglobalmarketi (20)

publie elass h 1 pahlte clamsia axcends A pablie clann Main .pdf
publie elass h 1 pahlte clamsia axcends A pablie clann Main .pdfpublie elass h 1 pahlte clamsia axcends A pablie clann Main .pdf
publie elass h 1 pahlte clamsia axcends A pablie clann Main .pdf
 
Puede una empresa ser buena en responsabilidad social corpo.pdf
Puede una empresa ser buena en responsabilidad social corpo.pdfPuede una empresa ser buena en responsabilidad social corpo.pdf
Puede una empresa ser buena en responsabilidad social corpo.pdf
 
public class Monster protected String clanAffiliation pro.pdf
public class Monster  protected String clanAffiliation pro.pdfpublic class Monster  protected String clanAffiliation pro.pdf
public class Monster protected String clanAffiliation pro.pdf
 
Provide three evidences with scholar reference that support.pdf
Provide three evidences with scholar  reference that support.pdfProvide three evidences with scholar  reference that support.pdf
Provide three evidences with scholar reference that support.pdf
 
Provincial Government The name of the representative of the .pdf
Provincial Government The name of the representative of the .pdfProvincial Government The name of the representative of the .pdf
Provincial Government The name of the representative of the .pdf
 
Prpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdf
Prpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdfPrpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdf
Prpugh shicti the bloset fides 1 rightventikiele+3 Fxet.pdf
 
Provide three evidences with reliable reference that suppor.pdf
Provide three evidences with reliable  reference that suppor.pdfProvide three evidences with reliable  reference that suppor.pdf
Provide three evidences with reliable reference that suppor.pdf
 
Provide the Independent variables Dependent variables a.pdf
Provide the Independent variables Dependent variables a.pdfProvide the Independent variables Dependent variables a.pdf
Provide the Independent variables Dependent variables a.pdf
 
Provide your example of a firm or a small business from the .pdf
Provide your example of a firm or a small business from the .pdfProvide your example of a firm or a small business from the .pdf
Provide your example of a firm or a small business from the .pdf
 
Provide the steps for the following In order to install sof.pdf
Provide the steps for the following In order to install sof.pdfProvide the steps for the following In order to install sof.pdf
Provide the steps for the following In order to install sof.pdf
 
Provide land use land cover images and photos using shape.pdf
Provide land use land cover images and photos  using shape.pdfProvide land use land cover images and photos  using shape.pdf
Provide land use land cover images and photos using shape.pdf
 
Provide SQL that creates two database tables Employee and D.pdf
Provide SQL that creates two database tables Employee and D.pdfProvide SQL that creates two database tables Employee and D.pdf
Provide SQL that creates two database tables Employee and D.pdf
 
Provide examples of risk and responsibilities relating to ts.pdf
Provide examples of risk and responsibilities relating to ts.pdfProvide examples of risk and responsibilities relating to ts.pdf
Provide examples of risk and responsibilities relating to ts.pdf
 
Provide an example of a user interface such as a webbased.pdf
Provide an example of a user interface such as a webbased.pdfProvide an example of a user interface such as a webbased.pdf
Provide an example of a user interface such as a webbased.pdf
 
Provide an example of an unintentional tort Discuss 3 occas.pdf
Provide an example of an unintentional tort Discuss 3 occas.pdfProvide an example of an unintentional tort Discuss 3 occas.pdf
Provide an example of an unintentional tort Discuss 3 occas.pdf
 
Program 02 Based on the previous problem you should impleme.pdf
Program 02 Based on the previous problem you should impleme.pdfProgram 02 Based on the previous problem you should impleme.pdf
Program 02 Based on the previous problem you should impleme.pdf
 
Programming Assignment 3 CSCE 3530 Introduction to Comput.pdf
Programming Assignment 3 CSCE 3530  Introduction to Comput.pdfProgramming Assignment 3 CSCE 3530  Introduction to Comput.pdf
Programming Assignment 3 CSCE 3530 Introduction to Comput.pdf
 
Prove the following by induction 1ini32nn+122n+12nn3.pdf
Prove the following by induction 1ini32nn+122n+12nn3.pdfProve the following by induction 1ini32nn+122n+12nn3.pdf
Prove the following by induction 1ini32nn+122n+12nn3.pdf
 
Provide a design for a cryptography problem which was illus.pdf
Provide a design for a cryptography problem which was illus.pdfProvide a design for a cryptography problem which was illus.pdf
Provide a design for a cryptography problem which was illus.pdf
 
Proje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdf
Proje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdfProje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdf
Proje yrtme srasnda gerekli olan raporlama skl rapor alcl.pdf
 

Recently uploaded

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Recently uploaded (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

PROBLEM Write a program that contains two arrays called movi.pdf

  • 1. PROBLEM Write a program that contains two arrays called movies and actors, each of size N. For each i, movies [i] is the name of a movie and actors [i] is a multiset of strings that contains the names of the actors that appear in that movie. DO NOT create additional data structures (arrays, vectors, multisets, etc.) in your program besides the actors and movies arrays. The program reads the initial information for these arrays from the input file provided with the starter code (movies.txt). The starter code already reads the input file. You just need to add the movies and actors to the arrays as they are read. Given the input file provided, your arrays will look like: movies: [101 Dalmatians (1996), Ace Ventura, Addams Family, Air Force One (1997),] actors: [ {"Benfield, John", "Braid, Hilda", "Capron, Brian", "Close, Glenn ", ...}, {"When Nature Calls (1995) ", "Akinnuoye-Agbaje, Adewale", "Allen, Kayla", "Callow, Simon", "Carrey, Jim", "Christie, Sabrinah", "Daniels, Danny D.", ... }, {"Anderson, Ryan", "Azito, Tony", "Benedict, Paul", "Franklin, John", "Hall, Victoria", "Hart, Christopher", "Hedaya, Dan", "Hertford, Whitby", "Hittesdorf, Michael", "Holihan, Ryan", "Huston, Anjelica", "Ivey, Dana", "Ivey, Lela", "Jackson, Eugene M. ", "Julia, Raul", "Kent, Allegra", ...}, {"Barringer, Daniel W. ", "Barry, Thom", "Baskin, Elya", "Bell, E.E. ", "Bellamy, Diana", "Berkeley, Xander", "Bullock, Donna", "Carhart, Timothy", "Close, 'Glenn", "Crawford, Thomas", "Crewson, Wendy", "Divoff, Andrew", "Donaldson, J. Mark", "Doyle, Richard", "Everett, Tom", "Faranda, Lee", "Ford, Harrison", ...}, ] Once the program is running, the user can: 1) type the name of a movie and receive the list of actors/actresses in that movie. 2) type the name of an actor/actress and receive a list of all the movies for that actor/actress. The starter code has a menu that displays these options to the user and reads theOnce the program is running, the user can: 1) type the name of a movie and receive the list of actors/actresses in that movie. 2) type the name of an actor/actress and receive a list of all the movies for that actor/actress. The starter code has a menu that displays these options to the user and reads the input from the user (either the movie title or the actor's name). You need to implement the functions that will perform these tasks (the functions have been declared already).