Decision Tables

→ A customer requests a cash withdrawal. One of the business rules for the ATM is that the ATM machine pays out the amount if the customer has sufficient funds in their account or if the customer has the credit granted.

Untitled

→ A supermarket has a loyalty scheme that is offered to all customers. Loyalty card holders enjoy the benefits of either additional discounts on all purchases or the acquisition of loyalty points, which can be converted into vouchers for the supermarket or to equivalent points in schemes run by partners. Customer without a loyalty card receive an additional discount only if they spend more than $100 on any one visit to the store, otherwise only the special offers offered to all customers apply.

Condition Loyalty Card Purchase Amount > $100 Action
Case 1 Yes Yes Additional discount
Case 2 Yes No Loyalty points
Case 3 No Yes Additional discount
Case 4 No No Regular offers