The constructor of the SalaryBonus class below makes the following assumptions;

You should add assert statements to the constructor that check for these preconditions.

The check method uses exception handling, a technique introduced in Chapter 11 of the text, to check that you inserted the appropriate assert statements. You need not understand the implementation of the check method at this time, and you should not modify it.