Extend the previous problem with a rental class this class


Question: Extend the previous problem with a Rental class. This class should store a Movie that is rented, an integer representing the ID of the customer that rented the movie, and an integer indicating how many days late the movie is. Add a method that calculates the late fees for the rental. In your main method, create an array of type Rental filled with sample data of all types of movies. Then, create a method named late Fees Owed that iterates through the array and returns the total amount of late fees that are outstanding.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Extend the previous problem with a rental class this class
Reference No:- TGS02404694

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)