# Problem 12

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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://computational-thinking-in-room11.gitbook.io/room-112-dhs/problemsolving/problem-12.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
