Create a .txt file with 3 rows of various movies data of your choice in the following  table format: Movie ID     number of viewers rating   release year   Movie name  0000012211 174   8.4                        2017      "Star Wars: The Last Jedi"  0000122110 369  7.9                        2017       "Thor: Ragnarok"   Create a class Movie which instantiates variables corresponds to the table columns.  Implement getters, setters, constructors and toString. ----Important  1. Implement two search methods to search Movies by their rating from unsorted array and by year (first) and a rating (second) from unsorted List. Test your methods and explain their time complexity

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

Create a .txt file with 3 rows of various movies data of your choice in the following 
table format:

Movie ID     number of viewers rating   release year   Movie name 
0000012211 174   8.4                        2017      "Star Wars: The Last Jedi" 
0000122110 369  7.9                        2017       "Thor: Ragnarok" 

 Create a class Movie which instantiates variables corresponds to the table columns. 
Implement getters, setters, constructors and toString.

----Important 

1. Implement two search methods to search Movies by their rating from unsorted array
and by year (first) and a rating (second) from unsorted List. Test your methods and
explain their time complexity.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning