This program lists movie data from a .csv file, allows for a search by name
Other files required:
1. Movies.csv – text file of integers
2. list.h – class template declaration & implementation
/* TODO
You will need to write the addInventory function in the movieStore program that accepts a List object and a double that is the percentage increase to the total number of movies.
The function processes all elements in the List object calculating the increased number of movies to be the sum of the number of movies checked in plus the sum of the movies checked out multiplied by the percentage passed into the function.
Truncate the result of this calculation.
Then that increased amount is add to the number of movies checked in.
In order to update each of this element of the List, you need modify the template to include a setItem function that sets the associated element in the List object to the item that is passed to the setItem function.
HINT: This function should only contain one C++ statement.