Page 1 of 1

INFO 1112 Lab 7 Movie Rental Application Requirements 1. Create a class Movie. [3 marks] It should have the following fi

Posted: Fri Jul 08, 2022 7:27 am
by answerhappygod
Info 1112 Lab 7 Movie Rental Application Requirements 1 Create A Class Movie 3 Marks It Should Have The Following Fi 1
Info 1112 Lab 7 Movie Rental Application Requirements 1 Create A Class Movie 3 Marks It Should Have The Following Fi 1 (34.4 KiB) Viewed 39 times
INFO 1112 Lab 7 Movie Rental Application Requirements 1. Create a class Movie. [3 marks] It should have the following fields a. Public String title b. Public int release_year c. Public int duration (length of the movie in minutes) d. Public int days_borrowed Int main(){ vectort<Movie> yourVariable; /* read the file netflix_titles.csv Store each row in an object of type Movie Then store the object inside an vector<Movie> 1/ /* create a menu [1 mark] 1. Rent 2. exit "/ /* Rent menu [4 marks] [3 marks] -display the available movies - let the user pick the movie(s) he/she wants to rent ask the user the number of days he would like to borrow the movie - provide an exit option to go back to the previous menu This part will be executed at the end of the program when it is about to terminate. write all the movies the user borrowed to a file (e.g. rent.csv) [4 marks] it should include the following information title, number of days, rent fee, amount Notes: amount = number of days rent fee