A contingency table is another tool for keeping a record of the counts or percentages in a probability problem. Contingency tables are especially helpful for figuring out whether events are dependent or independent.
A two-way contingency table always shows the counts for the 4 possible combinations of events, as well as the totals for each event and its complement.