We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51bea83 commit 7beebceCopy full SHA for 7beebce
exercises/practice/bob/.approaches/introduction.md
@@ -22,14 +22,18 @@ class Bob {
22
String hey(String input) {
23
var inputTrimmed = input.trim();
24
25
- if (isSilent(inputTrimmed))
+ if (isSilent(inputTrimmed)) {
26
return "Fine. Be that way!";
27
- if (isShouting(inputTrimmed) && isQuestioning(inputTrimmed))
+ }
28
+ if (isShouting(inputTrimmed) && isQuestioning(inputTrimmed)) {
29
return "Calm down, I know what I'm doing!";
- if (isShouting(inputTrimmed))
30
31
+ if (isShouting(inputTrimmed)) {
32
return "Whoa, chill out!";
- if (isQuestioning(inputTrimmed))
33
34
+ if (isQuestioning(inputTrimmed)) {
35
return "Sure.";
36
37
38
return "Whatever.";
39
}
0 commit comments