Skip to content

Commit 68188e0

Browse files
authored
Sync bob docs with problem-specifications (exercism#2269)
1 parent 0e7670c commit 68188e0

2 files changed

Lines changed: 25 additions & 12 deletions

File tree

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# Instructions
22

3-
Bob is a lackadaisical teenager. In conversation, his responses are very limited.
3+
Your task is to determine what Bob will reply to someone when they say something to him or ask him a question.
44

5-
Bob answers 'Sure.' if you ask him a question, such as "How are you?".
5+
Bob only ever answers one of five things:
66

7-
He answers 'Whoa, chill out!' if you YELL AT HIM (in all capitals).
8-
9-
He answers 'Calm down, I know what I'm doing!' if you yell a question at him.
10-
11-
He says 'Fine. Be that way!' if you address him without actually saying
12-
anything.
13-
14-
He answers 'Whatever.' to anything else.
15-
16-
Bob's conversational partner is a purist when it comes to written communication and always follows normal rules regarding sentence punctuation in English.
7+
- **"Sure."**
8+
This is his response if you ask him a question, such as "How are you?"
9+
The convention used for questions is that it ends with a question mark.
10+
- **"Whoa, chill out!"**
11+
This is his answer if you YELL AT HIM.
12+
The convention used for yelling is ALL CAPITAL LETTERS.
13+
- **"Calm down, I know what I'm doing!"**
14+
This is what he says if you yell a question at him.
15+
- **"Fine. Be that way!"**
16+
This is how he responds to silence.
17+
The convention used for silence is nothing, or various combinations of whitespace characters.
18+
- **"Whatever."**
19+
This is what he answers to anything else.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Introduction
2+
3+
Bob is a [lackadaisical][] teenager.
4+
He likes to think that he's very cool.
5+
And he definitely doesn't get excited about things.
6+
That wouldn't be cool.
7+
8+
When people talk to him, his responses are pretty limited.
9+
10+
[lackadaisical]: https://www.collinsdictionary.com/dictionary/english/lackadaisical

0 commit comments

Comments
 (0)