about | help | code help+videos | done | prefs |
Write a method that returns true if you work in an office, but false otherwise. You MUST have at least three phone lines where you work in order for it to be considered an office. Given the required phone lines, you definitely work in an office if there are cubicals. Maybe you work in an office with no cubicals. If no cubicals are present, you have to at least have a photocopier and be required to go to regular training sessions, and, of course, have enough phone lines. If these conditions are not met, you do NOT work in an office. workInOffice(true, false, false, 3) → true workInOffice(true, false, false, 2) → false workInOffice(false, true, false, 5) → 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: 250
Copyright Nick Parlante 2017 - privacy