Write a program that asks the user for the location of a movie database(should always be a CSV file, see attached DB), the program should read movies from the file and store them in a structure named MovieData in the following format:
Title
Director
Year Released
Running Time (in minutes)
The program should create an array of MovieData variables, with values stored in their members, which gets passed to a function that displays the information about the movie in a clearly formatted manner, Note: UX matters here and will be considered for part of your grade.
Validation: The program should validate that the file exists, if it does not exsit it should alert the user.
Sample output
Inception | Christopher Nolan | 2010 | 148
Pulp Fiction | Quentin Tarantino | 1994 | 154
The Shawshank Redemption | Frank Darabont | 1994 | 142
The Godfather | Francis Ford Coppola | 1972 | 175
The Matrix | The Wachowskis | 1999 | 136
The Dark Knight | Christopher Nolan | 2008 | 152
Forrest Gump | Robert Zemeckis | 1994 | 142
The Silence of the Lambs | Jonathan Demme | 1991 | 118
Fight Club | David Fincher | 1999 | 139
The Lord of the Rings: The Fellowship of the Ring | Peter Jackson | 2001 | 178
Last Completed Projects
topic title | academic level | Writer | delivered |
---|