Computing fees from a grace-period rule

A library system has this functional requirement: "When a member returns an item after its due date, the system shall charge 0.30 dollars for each day late beyond a grace period of 2 days, up to a maximum of 6.00 dollars per item, and shall display each item's fee and the total." One member returns three items at once: item A is 2 days late, item B is 9 days late and item C is 25 days late. Find the fee the system must charge for each item and the total it must display, each in dollars to two decimal places.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Functional Requirements Questions: