is in the store [2] CUSTOMER PARENT ADT Data Operations Customer_ID (preferably int, auto- [1] Add Customer generated) [2] Show the customer details Name [3] Print list of all customers Address [3]...


(C++ CODE)


A new video store in your neighborhood is about to open. However, it does
not have a program to keep track of its videos and customers. The store
managers want someone to write a program for their system so that the
video store can operate.
The program will require you to design 2 ADTs as described below: (C++)


is in the store<br>[2] CUSTOMER PARENT ADT<br>Data<br>Operations<br>Customer_ID (preferably int, auto- [1] Add Customer<br>generated)<br>[2] Show the customer details<br>Name<br>[3] Print list of all customers<br>Address<br>[3] CUSTOMER-RENT CHILD ADT<br>Customer_ID (<br>Video_ID (of all rented videos of a<br>customer)<br>[1] Rent a Video (Add to the video<br>ids rented)<br>[2] Return a Video (Remove the<br>video id from the list)<br>[3] Print list of all videos rented by<br>each customer<br>The program will require you to maintain 3 text files with specifications<br>below:<br>Text File<br>[1] VIDEO Text File<br>Requirements<br>[1] Will store the information about<br>the Videos<br>[2] Should contain the following by<br>default:<br>5 Horror Movies<br>5 Romance Movies<br>5 Sci-Fi Movies<br>5 Action Movies<br>5 Comedy Movies<br>**Must be authentic and true.**<br>[2] CUSTOMER Text File<br>|[1] Will store the basic information<br>about the Customers<br>[2] Should contain at least 10<br>customers by default<br>**Must be authentic and true.**<br>|[1] Will store all customers that<br>|[3] CUSTOMER-RENT<br>Data Structures & Algorithms<br>Page 6 of 15<br>RENT a VIDEO<br>[2] Will store all the Video_IDs of all<br>rented videos<br>[3] Will delete Video_IDs<br>Customer_ID<br>returned<br>and<br>when<br>videos<br>are<br>

Extracted text: is in the store [2] CUSTOMER PARENT ADT Data Operations Customer_ID (preferably int, auto- [1] Add Customer generated) [2] Show the customer details Name [3] Print list of all customers Address [3] CUSTOMER-RENT CHILD ADT Customer_ID ( Video_ID (of all rented videos of a customer) [1] Rent a Video (Add to the video ids rented) [2] Return a Video (Remove the video id from the list) [3] Print list of all videos rented by each customer The program will require you to maintain 3 text files with specifications below: Text File [1] VIDEO Text File Requirements [1] Will store the information about the Videos [2] Should contain the following by default: 5 Horror Movies 5 Romance Movies 5 Sci-Fi Movies 5 Action Movies 5 Comedy Movies **Must be authentic and true.** [2] CUSTOMER Text File |[1] Will store the basic information about the Customers [2] Should contain at least 10 customers by default **Must be authentic and true.** |[1] Will store all customers that |[3] CUSTOMER-RENT Data Structures & Algorithms Page 6 of 15 RENT a VIDEO [2] Will store all the Video_IDs of all rented videos [3] Will delete Video_IDs Customer_ID returned and when videos are
MACHINE PROBLEM<br>PROGRAM DESCRIPTION<br>A new video store in your neighborhood is about to open. However, it does<br>not have a program to keep track of its videos and customers. The store<br>managers want someone to write a program for their system so that the<br>video store can operate.<br>The program will require you to design 2 ADTS as described below:<br>[1] VIDEO ADT<br>Operations<br>auto- [1] Insert a new video<br>Data<br>| Video_ID<br>generated)<br>Movie Title<br>(preferably int,<br>[2] Rent a video; that is, check out a<br>video<br>[3] Return a video, or check in, a<br>video<br>Genre<br>Production<br>Number of Copies<br>Movie Image Filename<br>[4] Show the details of a particular<br>video<br>[5] Display all videos in the store<br>[6] Check whether a particular video<br>Data Structures & Algorithms<br>Page 5 of 15<br>

Extracted text: MACHINE PROBLEM PROGRAM DESCRIPTION A new video store in your neighborhood is about to open. However, it does not have a program to keep track of its videos and customers. The store managers want someone to write a program for their system so that the video store can operate. The program will require you to design 2 ADTS as described below: [1] VIDEO ADT Operations auto- [1] Insert a new video Data | Video_ID generated) Movie Title (preferably int, [2] Rent a video; that is, check out a video [3] Return a video, or check in, a video Genre Production Number of Copies Movie Image Filename [4] Show the details of a particular video [5] Display all videos in the store [6] Check whether a particular video Data Structures & Algorithms Page 5 of 15
Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here