Example: Decision Table |  |
Main Description
Here is an example of a decision table based on a car rental example which verifies for each USA state if the age of the rental customer is in the possible range. The columns "Rental Rejected" and "Reason" are actions.
State | Customer Age | Rental rejected | Reason
Minimum | Maximum
New York | 18 | 21 | TRUE | Customer must be over 21 to rent.
21 | 25 | FALSE |
Rhode Island | 16 | 21 | TRUE | Customer must be over 25 to rent.
21 | 25 | TRUE | Customer must be over 25 to rent.
Massachusetts | 18 | 21 | FALSE |
21 | 25 | FALSE |
New Hampshire | 18 | 21 | TRUE | Customer must be over 21 to rent.
21 | 25 | FALSE |
This program and the accompanying materials are made available under the Eclipse Public License V1.0, which accompanies this distribution. EPF Copyright.