about | help | code help+videos | done | prefs |
Write a method that has three boolean parameters b1, b2, and b3. Return the total number of these parameters that are 'true'. So you are counting how many of the three parameters are 'true'. nov9_2015_APSLHL_countTrue(true, true, true) → 3 nov9_2015_APSLHL_countTrue(true, false, false) → 1 nov9_2015_APSLHL_countTrue(false, false, false) → 0 ...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: 290
Copyright Nick Parlante 2017 - privacy