Skip to content

Commit 7beebce

Browse files
committed
Changing the codeblock in intorduction to match with approach content
1 parent 51bea83 commit 7beebce

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

exercises/practice/bob/.approaches/introduction.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,18 @@ class Bob {
2222
String hey(String input) {
2323
var inputTrimmed = input.trim();
2424

25-
if (isSilent(inputTrimmed))
25+
if (isSilent(inputTrimmed)) {
2626
return "Fine. Be that way!";
27-
if (isShouting(inputTrimmed) && isQuestioning(inputTrimmed))
27+
}
28+
if (isShouting(inputTrimmed) && isQuestioning(inputTrimmed)) {
2829
return "Calm down, I know what I'm doing!";
29-
if (isShouting(inputTrimmed))
30+
}
31+
if (isShouting(inputTrimmed)) {
3032
return "Whoa, chill out!";
31-
if (isQuestioning(inputTrimmed))
33+
}
34+
if (isQuestioning(inputTrimmed)) {
3235
return "Sure.";
36+
}
3337

3438
return "Whatever.";
3539
}

0 commit comments

Comments
 (0)