Question: This project is to develop a Book/CD Rental System for a book shop that rents out Books and CDs to its registered customers. The system
This project is to develop a Book/CD Rental System for a book shop that rents out Books and CDs to its registered customers. The system need to keep track of its rental information and compute rental fees collected from Books and CDs rented out to customers.
This Book/CD Rental System is to be developed with methods using the Java programming language. The Book/CD rental system has several Books and CDs, and many customers. Each customer is allowed to rent maximum of five Books and CDs at any time.
Upon returning Books and CDs, the library assistant shall compute the total fees. The rental fee for each book is $3 whereas a customer needs to pay $2 per CD as a rental fee. The borrowing periods of items (CD and Book) is one week. The customer must pay a fine of $1 per day for returning CD and Book later than due date.
Your program must provide the following functions to manage the books/CDs rental operations:
Add customer(5 points)
Add new customer information (1. Name, 2. Address, 3. Phone number, 4. Enrolling date, 5. Rental record) into the customer list.
Delete Customer(5 points) 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.
Modify customer(20 points)
Modify an existing customer information (1. Name, 2. Address, 3. Phone number, 4. Enrolling date) into the customer list.
Add Book or CD(20 points) Add new Book or CD information (1. Title, 2. Company, 3. Release date, 4. Borrowed date) in
the Book and CD list
Rental Book/CD item(20 points) Keep the code of a customer who borrows Books or/and CDs under the respective record of Book item and the availability flag of the Book item must be set to be unavailable.
f. Return Book/CD item(20 points) When a customer shall return a borrowed item(s) to the book shop, the program shall compute rental fees of Book and CD items. The program shall display detailed report for a customer.
Customer Name: Eugine Book Title Number of days Borrowed HARRY POTTER 5 The BLACK SWAN 7
Total Rental Fee: $8
No of Days Overdue 0 2
Rental Fee $3 $5
g. Reporting current Book/CD store information(10 points) The program shall display the list of Book and CD items rented out to the customers as well as for customer names with the list of Book and CD rented by each of them as following format.
Video Code
BOOK000001 BOOK000009 CD0110019
Title HARRY POTER The BLACK SWAN Adele
Borrowed by
Eugine Eugine Joel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
