Page 1 of 1

Movie Rental Application Requirements It should have the following fields Int main (){ vectort yourVariable ; /*

Posted: Fri Jul 08, 2022 6:15 am
by answerhappygod
Movie Rental Application
Requirements
It should have the followingfields
Int main (){
vectort<Movie> yourVariable ;
/* read the filenetflix_titles.csv [3 marks]
Store each row in an object of type Movie
Then store the object inside an vector<Movie>
*/
/* create a menu [1 mark]
*/
/* Rent menu [4marks]
- display the available movies
- let the user pick the movie(s) he/she wants to rent
- ask the user the number ofdays he would like to borrow the movie
- provide an exit option togo back to the previous menu
*/
/*
This part will beexecuted at the end of the program when it is about toterminate.
write all themovies the user borrowed to a file (e.g. rent.csv) [4marks]
title, number of days, rentfee, amount
Notes:
amount = number of days *rent fee
1 record perrow.
*/