Descending Linked List

Job ID: 35269482

Budget: $10 – $30 USD

As before, your program program must query the user information about TV episodes and their ratings. Your program must define a class responsible for storing TV episode information; however, this time episodes should be inserted into the linked list in descending sorted order based on the episode rating. Do not sort the list after the fact, insert in order. As before, the information you must store includes:

TV Show title, a string;
Season number, an integer;
Episode number, an integer;
Episode rating, a double value between 1 and 5.
As before, your program will query the user for each of these fields (in that order) then ask if the user wishes to enter a new TV episode ('y' or 'n'). Once the user has entered all the TV episodes they like, the program must print out the entire list of episodes in the order descending order based on rating. Each episode will be on a single line of its own. The season and episode should be in the format S<number>E<number> with leading zeros (i.e., use the method you write to do this).

How and What to Submit

Submission will happen via this GitHub respository. So you'll need to make sure you add all necessary files , and you will also need to make sure your code is committed and pushed to GitHub before the submission due date. When you are ready for me to grade, please also submit something in the BlackBoard assignment to indicate that you are done so I know which commit to grade.

Here are the files that should be present in your repository:

Any necessary C++ source files
A Makefile that builds your program
Any special instructions for running your program (if needed).
Example Input and Ouput

The following is an example of what the input/output process might look like:

TV Show: Star Trek Lower Decks
Season: 3
Episode: 2
Rating: 4.2

Do you want to enter another show (y/n)? y

TV Show: Star Trek Picard
Season: 2
Episode: 4
Rating: 3.8

Do you want to enter another show (y/n)? y

TV Show: Star Trek
Season: 1
Episode: 14
Rating: 4.8

Do you want to enter another show (y/n)? n

Here are the shows you recorded:

Star Trek, S01E14, Rating 4.8
Star Trek Lower Decks, S03E02, Rating 4.2
Star Trek Picard, S02E04, Rating 3.8
Related categories: C++ Programming Computer Science