> For the complete documentation index, see [llms.txt](https://computational-thinking-in-room11.gitbook.io/room-112-dhs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://computational-thinking-in-room11.gitbook.io/room-112-dhs/problemsolving/problem-12.md).

# Problem 12

Logic  Charts- Work it Together

David, Christopher, Nyah and Cameron (two married couples) each have a favorite sport.  The sports are running, swimming, biking and basketball. Determine from the following clues who likes which sport

#### Step 1: Set up a Basic Matrix or Logic Chart

|             | Running | Swimming | Biking | Basketball |
| ----------- | ------- | -------- | ------ | ---------- |
| David       | -       | -        | -      | -          |
| Christopher | -       | -        | -      | -          |
| Nyah        | -       | -        | -      | -          |
| Cameron     | -       | -        | -      | -          |

For each clue - then go through the clues and update the chart

1. David hates basketball, he was picked last for his 8th grade team and has never played again
2. Christopher is so out of shape he can't run around the block, and neither can his spouse
3. Nyah & Cameron both like sports that are part of tri-athlons
4. Nyah bought her husband a new bicycle for  his birthday.

|             | Running | Swimming | Biking   | Basketball |
| ----------- | ------- | -------- | -------- | ---------- |
| David       | -       | -        | YES (X4) | X1         |
| Christopher | X2      | -        | -        | YES        |
| Nyah        | -YES    | -        | -        | -X3        |
| Cameron     | X2 & x4 | YES      |          | X3         |

Nyah & David are married, she gave him a  bike for his birthday

Christopher and Cameron are married.&#x20;
