about | help | code help+videos | done | prefs |
You get to go out on the weekend if you complete all your chores. Your chores are to take out the trash, do your homework, do the dishes, and walk the dog. The four parameters match these chores. If the parameter is 'true' it means that you did that chore. Return 'true' if you get to go out on the weekend, 'false' otherwise. test2022_11_03_APP1SLHL_outOnWeekend(true, true, true, true) → true test2022_11_03_APP1SLHL_outOnWeekend(false, false, false, false) → false test2022_11_03_APP1SLHL_outOnWeekend(false, false, true, false) → false ...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: 210
Copyright Nick Parlante 2017 - privacy