Question: Write/complete a function CriticsPick() that accepts a map of movies and their ratings (between 0.0 and 10.0) and returns a set of the names of
- Write/complete a function CriticsPick() that accepts a map
of movies and their ratings (between 0.0 and 10.0) and returns a set of the names of the top five movies in the map. - If there are fewer than ten elements in the map, then the resulting set should contain every string in the map.
- Here is the data file : Movies.txt : https://drive.google.com/open?id=1QI4ePyNZchuilHCaX1pIlHV-Vn3Ceb-c
Main Program Template: #include
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
