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...


C++ (Linked List)


MACHINE PROBLEM<br>PROGRAM DESCRIPTION<br>A new video store in your neighborhood is about to open. However, it does not have a program to keep track<br>of its videos and customers. The store managers want someone to write a program for their system so that<br>the video store can operate.<br>The program will require you to design 2 ADTS as described below:<br>[1] VIDEO ADT<br>Data<br>Operations<br>Video_ID (preferably int, auto-generated)<br>Movie Title<br>[1] Insert a new video<br>[2] Rent a video; that is, check out a video<br>[3] Return a video, or check in, a video<br>[4] Show the details of a particular video<br>[5] Display all videos in the store<br>[6] Check whether a particular video is in the store<br>Genre<br>Production<br>Number of Copies<br>Movie Image Filename<br>[2] CUSTOMER PARENT ADT<br>Data<br>Operations<br>Customer_ID (preferably int, auto-generated)<br>Name<br>Address<br>[1] Add Customer<br>[2] Show the customer details<br>[3] Print list of all customers<br>[3] CUSTOMER-RENT CHILD ADT<br>[1] Rent a Video (Add to the video ids rented)<br>[2] Return a Video (Remove the video id from the<br>list)<br>[3] Print list of all videos rented by each customer<br>Video_ID (of all rented videos of a customer)<br>The program will require you to maintain 3 text files with specifications below:<br>Text File<br>Requirements<br>[1] Will store the information about the Videos<br>[2] Should contain the following by default:<br>[1] VIDEO Text File<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>Data Structures & Algorithms for CpE<br>Page 5 of 12<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 Data Operations Video_ID (preferably int, auto-generated) Movie Title [1] Insert a new video [2] Rent a video; that is, check out a video [3] Return a video, or check in, a video [4] Show the details of a particular video [5] Display all videos in the store [6] Check whether a particular video is in the store Genre Production Number of Copies Movie Image Filename [2] CUSTOMER PARENT ADT Data Operations Customer_ID (preferably int, auto-generated) Name Address [1] Add Customer [2] Show the customer details [3] Print list of all customers [3] CUSTOMER-RENT CHILD ADT [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 Video_ID (of all rented videos of a customer) The program will require you to maintain 3 text files with specifications below: Text File Requirements [1] Will store the information about the Videos [2] Should contain the following by default: [1] VIDEO Text File 5 Horror Movies 5 Romance Movies 5 Sci-Fi Movies 5 Action Movies 5 Comedy Movies **Must be authentic and true.** Data Structures & Algorithms for CpE Page 5 of 12
[2] CUSTOMER Text File<br>[1] Will store the basic information about the<br>Customers<br>[2] Should contain at least 10 customers by default<br>**Must be authentic and true.**<br>[1] Will store all customers that RENT a VIDEO<br>[2] Will store all the Video_IDs of all rented videos<br>[3] Will delete Video_IDs and Customer_ID when<br>videos are returned<br>[3] CUSTOMER-RENT<br>NOTE: IF YOU FIND THE NEED TO ADD OR MAKE ALTERATIONS TO THE SPECIFICATIONS OF THE<br>ADT AND TEXT FILES ABOVE, PLEASE DO SO. JUST MAKE SURE THAT YOU HAVE AN<br>ACCEPTABLE LOGICAL REASON.<br>INSTRUCTIONS:<br>• The program will have the following options/menus:<br>o [1] New Video<br>o [2] Rent a Video<br>o [3] Return a Video<br>o [4] Show Video Details<br>o [5] Display all Videos<br>o (6] Check Video Availability<br>o [7] Customer Maintenance<br>[1] Add New Customer<br>I/Programmer1<br>I/Lead Programmer<br>I/Lead Programmer<br>I/Programmer2<br>I/Programmer3<br>I/Programmer4<br>//Programmer1<br>IlProgrammer2<br>I/ Programmer3<br>IlProgrammer4<br>[2] Show Customer Details<br>[3] List of Videos Rented by a Customer<br>o [8] Exit Program<br>Follow the suggested screen dialogs<br>below for each of the option above:<br>[1] NEW VIDEO<br>Video ID:<br>Movie Title:<br>Genre:<br>Production:<br>Number of Copies:<br>Movie Image Filename: c:\endgame.jpg<br>auto-generated<br>Avengers: Endgame user input<br>|user input<br>|user input<br>1<br>Sci-Fi<br>Marvel Studios<br>10<br>user input<br>user input<br>Press <Enter> to continue..<br>Data Structures & Algorithms for CpE<br>Page 6 of 12<br>

Extracted text: [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 RENT a VIDEO [2] Will store all the Video_IDs of all rented videos [3] Will delete Video_IDs and Customer_ID when videos are returned [3] CUSTOMER-RENT NOTE: IF YOU FIND THE NEED TO ADD OR MAKE ALTERATIONS TO THE SPECIFICATIONS OF THE ADT AND TEXT FILES ABOVE, PLEASE DO SO. JUST MAKE SURE THAT YOU HAVE AN ACCEPTABLE LOGICAL REASON. INSTRUCTIONS: • The program will have the following options/menus: o [1] New Video o [2] Rent a Video o [3] Return a Video o [4] Show Video Details o [5] Display all Videos o (6] Check Video Availability o [7] Customer Maintenance [1] Add New Customer I/Programmer1 I/Lead Programmer I/Lead Programmer I/Programmer2 I/Programmer3 I/Programmer4 //Programmer1 IlProgrammer2 I/ Programmer3 IlProgrammer4 [2] Show Customer Details [3] List of Videos Rented by a Customer o [8] Exit Program Follow the suggested screen dialogs below for each of the option above: [1] NEW VIDEO Video ID: Movie Title: Genre: Production: Number of Copies: Movie Image Filename: c:\endgame.jpg auto-generated Avengers: Endgame user input |user input |user input 1 Sci-Fi Marvel Studios 10 user input user input Press to continue.. Data Structures & Algorithms for CpE Page 6 of 12
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here