Java Programming Exercise
Total price : 25 EUR
When returning films late
Matrix 11(New release) 2 extra days 8 EUR
Spider man(Regular rental) 1 days 3 EUR
Total late charge: 11 EUR
Bonus points
Customers get bonus points when renting films. A new release gives 2 points and other
films give one point per rental. (Regardless of the time rented)
The system keeps track of how many bonus points the customers have and then the
customers can use their bonus points to pay for a “new relase” rentals. 25 points pays the
rental for one day. When paying with bonus point the rental receipt could look like this.
Matrix 11 (New release) 1 days (Paid with 25 Bonus points)
Total price : 0 EUR
Remaining Bonus points: 3
Inventory
The inventory keeps track of all the films in the store. We need to be able to:
Add a film
Remove a film
Change the type of a film
List all films
List all films in store (e.g. not rented at the moment)