develop a simple Rent-a-Car Reservation System for a rental carcompany that rents and returns cars to its registered customers.The system needs to keep track of its rental information (cars andcustomers) and computes the rental cost from customers who rentedout cars. A rental car company has a variety of cars and manycustomers. Each customer is allowed to rent the maximum of one car.Upon renting a car, the system should compute and show the totalrental cost.
This Rent-a-Car Reservation System should be developed with JAVAprogramming language. Your program must provide the followingfunctions to manage the car rental operations:
a. Add Customer (10 points) Add new customer information (1.Name, 2. Address, 3. Phone number, 4. Registered date) into thecustomer list.
b. Delete Customer (10 points) Delete an existing customer fromthe customer list. A customer can only be deleted from the list ifa customer has returned the rented car.
c. Add Car (10 points) Add new car information (1. Model, 2.Type, 3. Make, 4. Year, 5. Rental cost per day) into the vehiclelist.
d. Rent Car (10 points) Rent a car by a customer. Keep acustomer who rents a car under the respective record of Car item,and the availability flag of the Car item must be set to beunavailable. Keep a car which is rented by a customer under therespective record of Customer item. When a customer rents a car,the system should show the total expected rental cost.
e. Return Car (20 points) When a customer returns the rentedcar, the system should show the final rental cost. If the car islate returned, the system computes the late return cost, and itshould be included to the final rental cost. f. Report current carsinformation (20 points) The program shall display the list of allcars and cars which are rented out to the customers.
g. Report current customers information (20 points) The programshall display the list of all customers as well as the car rentedby each of them.
develop a simple Rent-a-Car Reservation System for a rental car company that rents and returns cars to its registered cu
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am