Problem 3687 · Medium

Library Late Fee Calculator

Charge each late book by its days: a flat fee for one day, double the days up to five, and triple the days beyond that.

Open the interactive visualisation