Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed Practice Object Interaction!
You have completed Practice Object Interaction!
Instruction
Recap: Charging Fines to Patrons
Charging Fines to Patrons
To help the library earn revenue, we need to enable it to charge fines on its patrons who have overdue books.
The method should first find all of the Patrons who currently have checked out books that are overdue. Then, it should calculate how many days late the book is, and charge a set amount per day.
We can store the value of that amount in a property o...