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

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

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

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