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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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.
*/
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply