Skip to content

Commit

Permalink
Adding snippet.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jagdish-15 committed Nov 14, 2024
1 parent da71900 commit 51a8cd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exercises/practice/bob/.approaches/method-based/snippet.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
if (isSilent(inputTrimmed))
return "Fine. Be that way!";
if (isYelling(inputTrimmed) && isAsking(inputTrimmed))
return "Calm down, I know what I'm doing!";
if (isYelling(inputTrimmed))
return "Whoa, chill out!";
if (isAsking(inputTrimmed))
return "Sure.";

0 comments on commit 51a8cd3

Please sign in to comment.