45 lines
1.5 KiB
Markdown
45 lines
1.5 KiB
Markdown
|
# Bob
|
||
|
|
||
|
Bob is a lackadaisical teenager. In conversation, his responses are very limited.
|
||
|
|
||
|
Bob answers 'Sure.' if you ask him a question.
|
||
|
|
||
|
He answers 'Whoa, chill out!' if you yell at him.
|
||
|
|
||
|
He says 'Fine. Be that way!' if you address him without actually saying
|
||
|
anything.
|
||
|
|
||
|
He answers 'Whatever.' to anything else.
|
||
|
|
||
|
## Instructions
|
||
|
|
||
|
Run the test file, and fix each of the errors in turn. When you get the
|
||
|
first test to pass, go to the first pending or skipped test, and make
|
||
|
that pass as well. When all of the tests are passing, feel free to
|
||
|
submit.
|
||
|
|
||
|
Remember that passing code is just the first step. The goal is to work
|
||
|
towards a solution that is as readable and expressive as you can make
|
||
|
it.
|
||
|
|
||
|
Please make your solution as general as possible. Good code doesn't just
|
||
|
pass the test suite, it works with any input that fits the
|
||
|
specification.
|
||
|
|
||
|
Have fun!
|
||
|
|
||
|
|
||
|
### Submitting Exercises
|
||
|
|
||
|
Note that, when trying to submit an exercise, make sure you're exercise file you're submitting is in the `exercism/csharp/<exerciseName>` directory.
|
||
|
|
||
|
For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/csharp/bob/bob.cs`.
|
||
|
|
||
|
## Source
|
||
|
|
||
|
Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06)
|
||
|
|
||
|
## Submitting Incomplete Problems
|
||
|
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
||
|
|