about | help | code help+videos | done | prefs |
Write a method that accepts three boolean input parameters; a, b, and c. Return 'true' if exactly one of these parameters is true. Otherwise return false. Remember that all the normal rules apply. For example, each method can only have one return statement. test2024_09_19_APP1SLHL_thereCanBeOnlyOne(false, false, false) → false test2024_09_19_APP1SLHL_thereCanBeOnlyOne(false, false, true) → true test2024_09_19_APP1SLHL_thereCanBeOnlyOne(false, true, false) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 220
Copyright Nick Parlante 2017 - privacy