Skip to content

Commit bbb8334

Browse files
author
Rob Keim
committed
Update example implementation for Bob exercise
1 parent eaeefaa commit bbb8334

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exercises/bob/Example.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ public static string Response(string statement)
44
{
55
if (IsSilence(statement))
66
return "Fine. Be that way!";
7+
if (IsYelling(statement) && IsQuestion(statement))
8+
return "Calm down, I know what I'm doing!";
79
if (IsYelling(statement))
810
return "Whoa, chill out!";
911
if (IsQuestion(statement))

0 commit comments

Comments
 (0)