Hello! I need help writing a C++ program which uses a data structure class calle
ID: 3657402 • Letter: H
Question
Hello! I need help writing a C++ program which uses a data structure class called Movie. this class has a title, rating, and lastly profit data members. I also need create an array of movie objects in my main function.
The program will ask the user for their choice, then it execute's the choice they made. The choices are below. the choices are a function in the main. I need methods to access the data member fields of the movie object.
1) FindParticularRating: Allow a user to enter a movie name and find its rating.
2) FindHighestRating: Print the movie with highest user rating
3) FindHighestBoxOffice: Find Movie with highest box office rating
4) PrintAll: Print all the movies in the array as well as their rating and profits
Below is the file of movies I will be reading from.