about | help | code help+videos | done | prefs |
checkStartEnd
Given a number n, return true if n is in the range of star..end, inclusive. If check is false, return true if the number is less than star, or greater end. checkStartEnd(2, 1, 10, true) → true checkStartEnd(0, 1, 10, true) → false checkStartEnd(10, 9, 10, true) → 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: 105
Copyright Nick Parlante 2017 - privacy