Question: CSC 1760 Introduction to Programming 2018 Fall Final Project: Book/CD Rental System ( Due date: Nov 30, 23:59 pm EDT) This project is to develop

CSC 1760 Introduction to Programming

2018 Fall

Final Project: Book/CD Rental System

(Due date: Nov 30, 23:59 pm EDT)

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

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 Book or CD

Add new Book or CD information (1. Title, 2. Company, 3. Release date, 4. Borrowed date) in the Book and CD list

e.Rental Book/CD item

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

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 No of Days Overdue Rental Fee

HARRY POTTER 5 0 $3

The BLACK SWAN 7 2 $5

Total Rental Fee: $8

g.Reporting current Book/CD store information

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 Title Borrowed by

BOOK000001 HARRY POTER Eugine

BOOK000009 The BLACK SWAN Eugine

CD0110019 Adele Joel

Please add the following header before anything else in your program.

/****************************************

*

*Student Name:

*Date Due:

*Date Submitted:

*Program Name:

*Program Description:

**

****************************************/

Submission and Assessment

You are required to submit a source code and explain for each function by program comments.

You are encouraged to use your own imagination and ideas to add functionalities to make your program as functional and user-friendly as possible.

- Each function is graded using the following standard:

a. Function compiles without any compile errors or warnings: 50%

b. Function executes without any runtime errors: 25%

Function produces correct results: 25%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!