*NOT ASKING FOR ANYONE TO WRITE THE PROGRAM FOR ME*

I am having trouble understanding how to setup the logic for a program given these following conditions:

- For every day late up to and including 7 days, the late fee is $0.10/day
- After 7 days, for every day late up to and including 90 days, the late fee is $0.20/day.

(Example: a book returned 10 days late incurs a late fee of $1.30 late fee, $0.10 for each of the first 7 days plus $0.20 for each of the remaining 3 days)

This is where I am having issues. I am not sure how to include the previous condition along with this one. My best guess is some sort of nested loop or an elseif containing this condition and something about the last one?

- After 90 days, an unreturned book is considered lost. All late fees are waived, but the borrower is charged the cost of the book, plus a $10 restocking fee.

This is my best attempt, but I'm not sure this is the most efficient logic:

```
if (daysLate > 90)
{
costDue = bookPrice + 10;
}
else if (daysLate <= 90)
{
costDue = (7*0.10) * (daysLate*0.20);
}
else if (daysLate <= 7)
{
costDue = daysLate*0.10;
}
else
{
IO.reportBadInput();
}
```