Question: Develop a DVD/CD Rental System for a shop that rents out DVDs and VCDs to its registered customers. The system need to keep track of
Develop a DVD/CD Rental System for a shop that rents out DVDs and VCDs to its registered customers. The system need to keep track of its rental information and compute rental fees collected from DVDs and CDs rented out to customers.
This DVD Rental System is to be developed with methods using the Java programming language. The DVD rental
shop has several DVDs and CDs, and many customers. Each customer is allowed to rent maximum of five DVDs and CDs at any time. Upon returning DVDs and CDs, the shop assistant shall compute the total fees The rental fee for each CD is $3 whereas a customer needs to pay $5 per DVD as a rental fee. The borrowing periods of items (CD and DVD) is one week. The customer must pay a fine of $1 per day for returning CD and DVD later than duedate.
Your program must provide the following functions to manage the video rental operations:
a.
Add customer
Add new customer information (1.Name, 2.Address, 3.Phone number, 4.Enrolling date, 5.Rental record) into the customer list.
b.
Delete Customer
Delete an existing customer from the customer list. A customer can only deleted from the list if a customer has returned all borrowed items or does not borrow any item.
c.
Modify customer
Modify an existing customer information
(1.Name, 2.Address, 3.Phone number, 4.Enrolling date) into the customer list.
d.
Add DVD or CD
Add new DVD or CD information (1. Title, 2. Company, 3. Release date, 4. Borrowed date) in the DVD and CD list
e.
Rental DVD/CD item
Keep the code of a customer who borrows DVDs or/and CDs under the respective record of DVD item and the availability flag of the DVD item must be set to be unavailable.
f.
Return DVD/CD item
When a customer shall return a borrowed item(s) to the shop, the program shall compute rental fees of DVD and CD items. The program shall display detailed report for a customer.
Customer Name: Eugine
DVD Title Number of days Borrowed No of Days Overdue Rental Fee
MAD MAN 5 0 $5
House of Cards 7 2 $7
Total Rental Fee: $12
g.
Reporting current DVD/CD store information
The program shall display the list of DVD and CD items rented out to the customers as well as for customer names with the list of DVD and CD rented by each of them as following format.
Video Code Title Borrowed by
DVD000001 MAD MAN Eugine
DVD000009 House of Cards Eugine
CD0110019 Adele Joel
edit: I forgot, this is for java programming.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
