C++ · Decisions
Calendars, payroll and satellite clocks all need the leap-year rule, and its exception inside an exception is a classic test of decisions.